As far as I know of the \automark
command (scrpage2
package), it is only possible to mark two different "header-types" (e.g. sections and chapters). I'm searching for a way to mark an additional "header" (e.g. part) to use it in headings.
Example usage of this would be:
\documentclass{scrbook}
\usepackage{scrpage2}
\pagestyle{scrheadings}
\clearscrheadfoot
\automark[section]{chapter}
\ihead{\leftmark}
\ohead{\rightmark}
\ifoot{Display part title here}
\begin{document}
\part{Test}
\chapter{Test 2}
\section{Test 3}
\end{document}
Does anybody know of an automatic way to do this? Thanks in advance for any help!
Best Answer
Here's a simple patch: we add to
\@part
the code that stores in\theparttitle
the current part title. You can also give anywhere\parttitle{whatever}
(perhaps with an empty argument) to change the footer.