I am using the classicthesis package and would like to customize the page headers and the page numbers. Here is a test project that shows the problem.
\documentclass[dottedtoc, headinclude, footinclude=true]{scrreprt}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[pdfspacing]{classicthesis}
\usepackage{lipsum,kantlipsum} % Generates dummy text.
\begin{document}
\pagestyle{plain}
\tableofcontents
\pagestyle{scrheadings} % <--- Affects the page header and page number in the footer.
\part{Liechtenstein}
\chapter{Liechtenstein}\kant[1-6]\clearpage
\part{Germany}
\chapter{Germany}\kant[1-3]\clearpage
\section{Bavaria}\kant[1-6]\clearpage
\section{Hesse}\kant[1-6]
\end{document}
When I add \pagestyle{scrheadings}
the page number jumps to the header as shown in the screenshot. I want the page numbers to stay at the footer. Nevertheless, I want a page header that shows the current chapter respectively the section. Please compile my example to recognize that some chapters do not have sections. It would be best, when I could manually decide whether the chapter name should be displayed on all pages of the chapter or whether the section names should appear.
This following screenshots show how a page looks like with or without scrheadings
enabled.
Desired layout:
- Page number always in the footer.
- Chapter name or section name in the header.
- Total page numbers in the footer. (optional)
- Manual configuration whether chapter or section name is shown in the header. (optional)