# How to move the Header/ Title closer to the fancyhdr ruler line (remove the space)

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?

\documentclass[openany,11pt]{book}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{fancyhdr}
\fancypagestyle{plain}{%
\fancyhf{}
\renewcommand{\footrulewidth}{0pt}

\begin{document}

\listoffigures % Prints the list of figures

\newpage
\listoftables % Prints the list of tables

\chapter{Prämissen des Modells}

\newpage

\section{Grundannahmen zum Modell diskrete Betriebsstunden}

And wrong on this one.
\end{document}

• if you highlight all of the code and use the {} button (or ctrl-k shortcut) it will be formatted as code – David Carlisle Apr 12 '18 at 20:00
• Aeorius, did you have a look at fancyhdr package documentation ? – BambOo Apr 12 '18 at 20:03
• Also, not related to your question but why do you sign your questions with merci in advance ? – BambOo Apr 12 '18 at 20:05
• You can use titlesec to customise the formatting/spacing of \chapter. – Bernard Apr 12 '18 at 20:12
• Aerioeus, see TeX.SX starter guide. It is not an issue to learn, and learning latex for sure takes time, but when asking a question, it is very important to show people what you have tried so far (code snippets, web pages where you got information from ...). This way help will come faster ! – BambOo Apr 12 '18 at 20:17