GeneralLong headings

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
azr124
Posts: 8
Joined: Tue Oct 21, 2008 2:52 pm

Long headings

Post by azr124 »

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!

Recommended reading 2024:

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

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

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

Long headings

Post by localghost »

Use the short form for your section titles.

Code: Select all

\section[Short title]{Full title}
The short form of the title will also appear in the ToC.


Best regards
Thorsten¹
azr124
Posts: 8
Joined: Tue Oct 21, 2008 2:52 pm

Re: Long headings

Post by azr124 »

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

Long headings

Post by localghost »

azr124 wrote:[…] Is there any way in which I could type the section's title in a second line in the headings section?
Show the code that creates your page headers.
Post Reply