seanmossman / WSU_ThesisTemplate_LaTeX

Dissertation/thesis templates for Washington State University graduate students sponsored by the GPSA
0 stars 1 forks source link

Longer chapter headings do not get inverted pyramid shape #6

Open vbollen opened 7 years ago

vbollen commented 7 years ago

When the chapter headings are longer than one line, they are not in the inverted pyramid shape required by the grad school

seanmossman commented 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

vbollen commented 7 years ago

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.

seanmossman commented 7 years ago

Confirmed that that works.

biggstd commented 7 years ago

I've found a slightly more robust solution, and created a pull request on the development branch.