2

I am writing a document with the book class. Hence, the title of the chapter appears at the head of each even page, and the title of the section appears at the head of each odd page. However, some of my titles are too long and the texts exceeds the margins.

How can I resolve this, for instance by ending the heading with '...' if the heading is too long?

6

Provide an abbreviated name for those chapters and sections with long titles.

\chapter[Short name]{Chapter with a very long name}

\section etc. also take an optional parameter.

Edit
See the link in Ulrike Fischer's comment, which describes an alternate scheme (\chaptermark etc).

  • I fixed a typo in your answer. I did so because it was a typo in the code and so could have lead to confusion... Hope that's ok. – Seamus Jul 15 '11 at 12:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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