What is the reason that the following code is producing an error with text break (\\)
\node (text_1) [draw=none, below=1cm of func, align=left, xshift=1.5cm,yshift=-1cm]
{
\begingroup
\fontsize{9pt}{7.2}\selectfont
{Some \\ code}
\endgroup
}
\documentclass{...}
, the required\usepackage
's,\begin{document}
, and\end{document}
. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem.\begingroup \endgroup
group or the{}
group so that the implicit \par at the end of the node is in the scope of the size change.