Web Analytics Made
Easy - StatCounter

Tikz: creating a line break in a node.

How 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.

© Amy Tabb 2018 - 2022. All rights reserved. The contents of this site reflect my personal perspectives and not those of any other entity.