Hi everyone, I have a question about headings...
The heading of my document has three elements:
1) My name on the left
2) The page number on the right
3) The section's title in the center
The problem is that the section's title is extremely long. I'm using fancyhdr so my name and the section's name get all crumpled.
Is there any way that I can keep my name (the left) and the page number (right) on one line of the heading, and the section's title (center) in the following line?
Thank you all for your help!
General ⇒ Long headings
NEW: TikZ book now 40% off at Amazon.com for a short time.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Long headings
Use the short form for your section titles.
The short form of the title will also appear in the ToC.
Best regards
Thorsten¹
Code: Select all
\section[Short title]{Full title}
Best regards
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Long headings
The problem is that I cannot use a shortened version of the title...;
Is there any way in which I could type the section's title in a second line in the headings section?
Is there any way in which I could type the section's title in a second line in the headings section?
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Long headings
Show the code that creates your page headers.azr124 wrote:[…] Is there any way in which I could type the section's title in a second line in the headings section?
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10