phd-thesis-template icon indicating copy to clipboard operation
phd-thesis-template copied to clipboard

Anyone know how to shorten the gap in the first page of each chapter

Open xupeng0701 opened this issue 1 year ago • 1 comments

Hi, I am heading to my final final phd thesis submission, and my supervisor said there is a like a double-space in the first page of each chapter, literally after the title of Chapter.

Here is the screenshot of this double-space. double space in the first page of each chapter

xupeng0701 avatar Aug 13 '24 13:08 xupeng0701

This is related to issue #213. The solution is to customise \@makechapterhead. In that solution change the \vskip 40 to something like \vskip 10. I.e., place this code before \begin{document} in thesis.tex:

\makeatletter
\def\@makechapterhead#1{%
  \vspace*{50\p@}
  {\parindent \z@ \raggedright \normalfont
    \ifnum \c@secnumdepth >\m@ne
        \huge\bfseries \@chapapp\space \thechapter
        \par\nobreak
        \vskip 20\p@
    \fi
    \interlinepenalty\@M
    \Huge \bfseries #1\par\nobreak
    \vskip 10\p@
  }}
\def\@makeschapterhead#1{
  \vspace*{50\p@}
  {\parindent \z@ \raggedright
    \normalfont
    \interlinepenalty\@M
    \Huge \bfseries  #1\par\nobreak
    \vskip 10\p@
  }}
\makeatother

GR8DAN avatar Aug 13 '24 14:08 GR8DAN