Page LayoutHeadings too long for Header

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
Leoni
Posts: 7
Joined: Sat Feb 12, 2011 1:03 pm

Headings too long for Header

Post by Leoni »

Hi guys

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
Bildschirmfoto 2012-06-14 um 21.06.34.png (13.04 KiB) Viewed 2458 times

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

Headings too long for Header

Post by localghost »

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. […]
Please clarify what in your understanding is a style file. Furthermore there is no need to edit and modify it.

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}
Nevertheless you should provide an example because solutions can depend on the used document class. And perhaps some basic reading can't do any harm.


Thorsten
Leoni
Posts: 7
Joined: Sat Feb 12, 2011 1:03 pm

Re: Headings too long for Header

Post by Leoni »

Hi Thorsten

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!
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Headings too long for Header

Post by localghost »

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 […]
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).

Furthermore you should accept the answer that led you to the solution to make our filter system for solved and unsolved problems work.
Post Reply