how can I remove the big space between the Header (e.g. List of Tables) and the fancyhdr? Do I need to set this in the \pagestyle definition?
Merci in advance A
\documentclass[openany,11pt]{book}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{fancyhdr}
\fancypagestyle{plain}{%
\fancyhf{}
\renewcommand{\headrulewidth}{0.5pt}
\renewcommand{\footrulewidth}{0pt}
\addtolength{\headheight}{0.5pt}
\fancyhead[LE,RO]{\leftmark}
\fancyhead[RE,LO]{WHAT I WANT TO SEE}}
\begin{document}
\listoffigures % Prints the list of figures
\newpage
\listoftables % Prints the list of tables
\chapter{Prämissen des Modells}
Header is correct on this page.
\newpage
\section{Grundannahmen zum Modell diskrete Betriebsstunden}
And wrong on this one.
\end{document}
{}button (or ctrl-k shortcut) it will be formatted as code – David Carlisle Apr 12 '18 at 20:00fancyhdrpackage documentation ? – BambOo Apr 12 '18 at 20:03titlesecto customise the formatting/spacing of\chapter. – Bernard Apr 12 '18 at 20:12