dot2tex - multiline graphviz node with math mode -
i have node represents multiline label in math mode. however, failed include newline symbol \n node label. here try
\begin{dot2tex}[neato,scale=.5,options=-t math] digraph g { c[shape=none,label="x_1",pos="1,.25!"]; d[label="d",pos=".5,-1.6!"]; } \end{dot2tex} how can add newline node c?
from dot2tex documentation page:
the
\character needs escaped\\if used inlabelattribute.
therefore, label="first line\\\\second line" (four backslashes) should result in latex newline sequence (can't test though).
Comments
Post a Comment