To avoid overlapping headers in my output file, I choose a shorter name for my sections in brackets, for example
\section[Existence]{Existence of knot factorizations}
so that in the main body of the text, the name of the section is "Existence of knot factorizations", while in the header it says only "Existence".
The deal is that not only does this change the header, but also the table of contents. I want the table of contents to contain the full title of the section "Existence of knot factorizations" instead of just "Existence", while the header still maintains the shorter title "Existence". Any way of getting around this?
Kind regards.
Page Layout ⇒ Making the headers differ from the table of contents
NEW: TikZ book now 40% off at Amazon.com for a short time.
Making the headers differ from the table of contents
Hi,
you can use the \markboth or \markright commands, as the following simple example suggests:
you can use the \markboth or \markright commands, as the following simple example suggests:
Code: Select all
\documentclass{article}
\usepackage{lipsum}% just to generate some text
\pagestyle{headings}
\begin{document}
\tableofcontents
\section{Existence of knot factorizations}
\markboth{}{Existence}
\lipsum[1-30]
\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...