TikZ: "align=left" does not work
Dear list, there seems to be a bug regarding the alignment of text inside nodes. If the TikZ picture is inside a centered or ragged left environment, "align=left" is not interpreted correctly. MWE attached. Kind regards, Joshua \usemodule[tikz] \starttext \setupalign [right] Ragged right alignment \starttikzpicture \node [draw=red, text width=5cm, align=left] at (0, 1) {left}; \node [draw=red, text width=5cm, align=center] at (0, 2) {center}; \node [draw=red, text width=5cm, align=right] at (0, 3) {right}; \stoptikzpicture \setupalign [center] Centered alignment \starttikzpicture \node [draw=red, text width=5cm, align=left] at (0, 1) {left}; \node [draw=red, text width=5cm, align=center] at (0, 2) {center}; \node [draw=red, text width=5cm, align=right] at (0, 3) {right}; \stoptikzpicture \setupalign [left] Ragged left alignment \starttikzpicture \node [draw=red, text width=5cm, align=left] at (0, 1) {left}; \node [draw=red, text width=5cm, align=center] at (0, 2) {center}; \node [draw=red, text width=5cm, align=right] at (0, 3) {right}; \stoptikzpicture \stoptext
participants (1)
-
Joshua Krämer