tompollard/phd_thesis_markdown

Reduce Space Above chapter heading

MrTidbury opened this issue · 4 comments

I am using this for my dissertation at uni and love it. Just one quick issue I have with it is that I am attempting to reduce the empty space above the new Chapter Header. I attempted to change
% \newcommand{\hsp}{\hspace{20pt}} in the preamble.tex but with no luck.

Would love to know if this is possible.

Thanks

Thanks Jack, glad to hear it :) It is definitely possible, but it's been a while since I looked at the template, so I can't say exactly how. I'll take a look when I have time...

Cheers man - I will keep digging. If I work it out Ill post it here

Any updates on this, @MrTidbury ?

I've found my way around this issue inside preamble.txt:

Use something along the lines of:

\usepackage{titlesec}
\titleformat{\chapter}[display]
{\normalfont\huge\bfseries}{\chaptertitlename\ \thechapter}{20pt}{\Huge}
\titlespacing{\chapter}{0pt}{0pt}{0pt} % or {0pt}{-50pt}{40pt} for even leaner headings

It needed an extra tweak for it to take effect though. There's something when loading sectsty or ulem that overrides the options passed to \titlespacing, so also remember to comment out the following section in preamble.txt:

% HEADINGS
\usepackage{sectsty}
\usepackage[normalem]{ulem}
\sectionfont{\rmfamily\mdseries\Large}
\subsectionfont{\rmfamily\mdseries\scshape\large}
\subsubsectionfont{\rmfamily\bfseries\upshape\large}