Open vbollen opened 7 years ago
The problem is that even \protect{\\}
will not be allowed by the hyperref backage as it can't put linebreaks in the pdf bookmarks. One solution is to force LaTeX to treat blocks of words as one word:
\chapter{This is a very~long~chapter~title}
will format as
This is a
very long chapter title
This is Aaron on Viktor's account. I had a problem using the squiggly hypens (~), particularly with the last line of my chapter name, where I needed to force a line break but I couldn't. I found a workaround:
\chapter[CHAPTER NAME WITHOUT BREAKS]{CHAPTER NAME WITH \break BREAKS WHEREVER YOU \break \WANT THEM TO APPEAR}
The part in square brackets goes to your table of contents.
Confirmed that that works.
I've found a slightly more robust solution, and created a pull request on the development branch.
When the chapter headings are longer than one line, they are not in the inverted pyramid shape required by the grad school