hi;
I am writing a book chapter. As you know in a book class, a header is automatically added to each page indicating the page number as well as the chapter name on even pages. The problem is that my title is very long, so on each even page, the title of the chapter appears not in full (some of it is out of the page), ow can I solve this problem? Another thing, sometimes when I create sections, subsections, subsubsections, there is sometimes a large space between the subsection and the paragraph that follows (for some of the subsections and not all of them)
Regards,
General ⇒ header and subsection problems
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
header and subsection problems
Hi tarektarek,
use the optional parameter of \chapter to give a short title for the toc and the heading:
See sectioning in the hypertext help. But if you want to use the long title for the toc too, use \chaptermark (or \markboth) instead.
Stefan
use the optional parameter of \chapter to give a short title for the toc and the heading:
Code: Select all
\chapter[short title]{long title}
Stefan
LaTeX.org admin
-
- Posts: 30
- Joined: Fri Nov 23, 2007 12:56 am
Re: header and subsection problems
Thanks a lot!