General ⇒ Short version of section only in header
Short version of section only in header
so my thesis has the title of the chapter/section in the header of each page. I'm using /section[short version]{long version} to reduce the text on the header, as some titles are too long. I figured the short version is also showing on my content - Is there a way to change that so that the long version shows in my content?
Two lines in my header could also work.
Thank you in advance!
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
Re: Short version of section only in header
- Stefan Kottwitz
- Site Admin
- Posts: 10358
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Short version of section only in header
Code: Select all
\section{Long Title}
\markright{Short Title}
% or \markright{Short Title}{Short Title}
Re: Short version of section only in header
I also realized I didn't explain myself quite well: Each page has either the title of the chapter or the title of the section (both with numbering)
Re: Short version of section only in header
\sectionmark{Short version}
\section{Second section: Too much text for a running head}
\sectionmark{Short versions}
EDIT: Turns out sometimes \sectionmark is ignored...
Re: Short version of section only in header
I tried this, but it's still not working..
\sectionmark{On the Use of a Directly Modulated Laser in a Phase Modulated-Assisted}
\section[On the Use of a Directly Modulated Laser in a Phase Modulated-Assisted mmW Signal Generation and Transmission Link]{On the Use of a Directly Modulated Laser in a Phase Modulated-Assisted mmW Signal Generation and Transmission Link%
\sectionmark{On the Use of a Directly Modulated Laser in a Phase Modulated-Assisted}}
\sectionmark{On the Use of a Directly Modulated Laser in a Phase Modulated-Assisted}
- Stefan Kottwitz
- Site Admin
- Posts: 10358
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Short version of section only in header
Code: Select all
\renewcommand{\sectionmark}[1]{\gdef\rightmark{#1}}
Re: Short version of section only in header
- Stefan Kottwitz
- Site Admin
- Posts: 10358
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Short version of section only in header
Code: Select all
\renewcommand{\sectionmark}[1]{\gdef\rightmark{\thesection\ #1}}