I am doing my Bachelor report. I can't get the chapter name to an higher location, so there is more space for text.


If you use either the report or book document class (or a document class that's directly based on them), you could utilize the macro \patchcmd from the etoolbox package to modify the commands \@makechapterhead and @makeschapterhead, as these are the macros that govern the whitespace above and below the chapter headers.

The following MWE uses the book document class, but it works just as well with the report class. It sets the vertical whitespace above the chapter header to 0 and cuts the vertical whitespace below the chapter header in half. Feel free to modify these choices to suit your document's needs.

\usepackage{etoolbox,lipsum} % "lipsum" for filler text
% "\@makechapterhead" applies to ordinary or numbered chapters
\patchcmd{\@makechapterhead}{\vskip 40\p@}{\vskip 20\p@}{}{}
% "\@makeschapterhead" applies to "starred" or un-numbered chapters
\patchcmd{\@makeschapterhead}{\vskip 40\p@}{\vskip 20\p@}{}{}
\chapter*{An unnumbered header}
\chapter{A numbered chapter header}
\section{A numbered section header}

Of course, if you use an entirely different document class, the code above almost certainly doesn't apply.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.