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 in label attribute.

therefore, label="first line\\\\second line" (four backslashes) should result in latex newline sequence (can't test though).


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -