Page Layout ⇒ Headings too long for Header
Headings too long for Header
I've got the following problem:
Normally, on even pages I have the name of actual section on top of the page, and on odd pages there's name of chapter. The problem is that sometimes the name of chapter or section is so long, that it does not have enough space, and it looks like in the attached image.
I guess this setting comes from the style file. I am absolutely not familiar with editing style files... Does someone know, it it's possible to overwrite this option somehow in .tex files? So that I can trigger it whenever I want...
Thanks in advance,
Leoni
- Attachments
-
- Bildschirmfoto 2012-06-14 um 21.06.34.png (13.04 KiB) Viewed 2462 times
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
Headings too long for Header
Please clarify what in your understanding is a style file. Furthermore there is no need to edit and modify it.Leoni wrote:[…] I guess this setting comes from the style file. I am absolutely not familiar with editing style files... Does someone know, it it's possible to overwrite this option somehow in .tex files? So that I can trigger it whenever I want. […]
For an adequate problem description please provide a proper minimal example that contains all necessary, but only the relevant information. Due to missing information every statement can only be a guess or random shot.
But I will try such a random shot and suggest to use the optional short form for heading commands.
Code: Select all
\chapter[Entry for ToC and Header]{Full Chapter Title}
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Headings too long for Header
thanks a lot for your reply. Never knew it could be that easy!!!
Reading of basic will definitely not do any harm, however, no time for that.. Die höhe Kunst ist wenn Du solche dummies wie ich vertehst

Danke danke danke!
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Headings too long for Header
You should take that time because it will save you much time instead of possibly waiting for answer in a forum for several hours (or days).Leoni wrote:[…] Reading of basic will definitely not do any harm, however, no time for that.. Die höhe Kunst ist wenn Du solche dummies wie ich vertehst […]
Furthermore you should accept the answer that led you to the solution to make our filter system for solved and unsolved problems work.
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10