General ⇒ Long headings
Long 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!
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Long headings
Code: Select all
\section[Short title]{Full title}
Best regards
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Long headings
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?
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10