How i can fix that: This works: \starttikzpicture[mynode/.style={rectangle,fill=red!10,text width=4cm}] \node[mynode] (A) at (5cm, 8cm) {This\\ works}; \stoptikzpicture This don´t works: \starttikzpicture[mynode/.style={rectangle,fill=red!10,text width=4cm, align=center}] \node[mynode] (A) at (5cm, 8cm) {Align\\ (don´t work)}; \stoptikzpicture ConTeXt ver: 2013.12.22 19:05 MKIV beta fmt: 2013.12.23 int: english/english Jorge
I found this solution:
\starttikzpicture[mynode/.style={rectangle,fill=red!10,text width=4cm}]
\node[mynode] (A) at (5cm, 8cm)
{\framed[width=4cm,location=middle,align=center]{it's\\ (framed )}};
\stoptikzpicture
Jorge
2014/1/20 DesdeChaves
How i can fix that:
This works:
\starttikzpicture[mynode/.style={rectangle,fill=red!10,text width=4cm}] \node[mynode] (A) at (5cm, 8cm) {This\\ works}; \stoptikzpicture
This don´t works:
\starttikzpicture[mynode/.style={rectangle,fill=red!10,text width=4cm, align=center}] \node[mynode] (A) at (5cm, 8cm) {Align\\ (don´t work)}; \stoptikzpicture
ConTeXt ver: 2013.12.22 19:05 MKIV beta fmt: 2013.12.23 int: english/english
Jorge
-- Atentamente DesdeChaves
participants (1)
-
DesdeChaves