Tikz: creating a line break in a node.
26 Oct 2021How do you create two more more lines of text in one TikZ node? You need to include an align
option, and use double backslashes.
\node[draw, align=left] {This is a\\demonstration.};
Here’s the relevant StackExchange answer.