Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I've found how to make different text for Title appearing in ToC, Chapter and headers Chapter title in header too long :

\chapter[medium-length title for TOC, if wanted]{full title name}
\chaptermark{short title for running headers}

How to make ("force") line-break (if possible) in each of those three titles:

  • in ToC
  • in Chapter
  • in Header

?

share|improve this question
add comment

1 Answer

up vote 6 down vote accepted

The standard class page headers are really only set up for one line. If doing it a lot you should modify the page headers to set the mark text into a parbox, but for a one-off long entry you can put the parbox into the mark. So this breaks all three instances:

\chapter[medium-length\\ title for TOC, if wanted]{full\\ title name}
\chaptermark{\protect\parbox{.5\textwidth}{short title\\ for running headers}}
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.