0

This question already has an answer here:

I'm a bit frustrated because I am writing my thesis in latex and I used the graduate-thesis template from sharelatex.

I just want to reduce the spacing before a new Chapter that is generated between the top of the space and the "Chapter x" with the \chapter{"example chapter"} command.

How can I do that?

Thanks in advance!

marked as duplicate by Johannes_B, Mico spacing Jun 30 '18 at 6:18

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

0

Since this class is based on the book class, one can take a look at that. Then you will realize that \chapter uses \@makechapterhead which is responsible for this spacing. You can change the original code (from book.cls) accordingly in the preamble:

\makeatletter
\def\@makechapterhead#1{%
  \vspace*{0\p@}% This is generating the additional space. default {50\p@}
  {\parindent \z@ \raggedright \normalfont
    \ifnum \c@secnumdepth >\m@ne
      \if@mainmatter
        \huge\bfseries \@chapapp\space \thechapter
        \par\nobreak
        \vskip 20\p@
      \fi
    \fi
    \interlinepenalty\@M
    \Huge \bfseries #1\par\nobreak
    \vskip 40\p@
  }}
\makeatother

A word of caution: This is a well established standard. I wouldn't suggest to do big changes to that. But in the end it's up to you—your gusto and decision.

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