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 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?

share|improve this question
add comment

1 Answer 1

up vote 6 down vote accepted

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).

share|improve this answer
    
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
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.