Possible Duplicate:
Tree-like diagram (flow chart?) showing selection of scientific papers when reviewing
I am trying to draw a state using tikz.
The state I want to use draw is:
\node[state] (A) {Wait for 0 from below};
The problem is: What can I do if I want "Wait for 0 from below", showed in two lines, like this:
Wait for 0
from below
This code does not work:
\node[state] (A) {Wait for 0 \linebreak from below};
text width=xx cmto your node options maybe withalign=centerfor the alignment of text. – percusse Oct 12 '12 at 12:02\node[state,text width=1.8cm] (A) {Wait for 0 from below};. If you want to align the text at the center use the extra option in my previous comment. By the way, Welcome to TeX.sx!. Next time, please add a minimal working example (MWE) that illustrates your problem such that we can help more definitely as we will know what exactly the problem is. – percusse Oct 12 '12 at 12:11