Page LayoutShortened Chapter Title in Header

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
Bishan
Posts: 1
Joined: Tue Dec 03, 2013 5:09 pm

Shortened Chapter Title in Header

Post by Bishan »

I would like to just have "Chapter 1" in my header because the actual name "Chapter 1: Mathematical model of ... etc" is too long and it goes onto the next line of the header. Is this possible?

I use the package called fancyhdr.

Many many thanks if you can help me out.

Bishan

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Shortened Chapter Title in Header

Post by localghost »

What about using a short form for the header entry by the optional argument of sectioning commands like \chapter?

Code: Select all

\chapter[Short title for ToC entry or header]{Long title for the chapter heading as such}
If that is not what you want please prepare a self-contained and minimal example to give an adequate problem description and show your current document setup regarding the header.


Remarks:
  • Other classes like those from the KOMA-Script bundle have more built-in flexibility in this regard.
  • An alternative package with an easier interface for the setup of headers (and footers) is titleps.

Best regards and welcome to the board
Thorsten
Post Reply