[NTG-context] align text in nodes (tikz)

DesdeChaves desdechaves at gmail.com
Mon Jan 20 16:28:00 CET 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20140120/b2342947/attachment.html>


More information about the ntg-context mailing list