16

I tried title = {really\\ long title} but it does not work.

One thing that I find is working is to use title = {\parbox{0.4\textwidth}{\centering really long title}}. But this is not as flexible. Is there a way that I can break my title into multiline easily?

Zhen Sun
  • 345

1 Answers1

12

The title is created using a TikZ node, so Manual/automatic line breaks and text alignment in TikZ nodes applies here. You can set the properties of the title node using title style={<options>}. For example, you could set title style={align=left}, title={really\\long title} to break the line manually.

Jake
  • 232,450