\documentclass[11pt,a4paper,notitlepage,twoside]{report} \usepackage[a4paper, top=3cm, bottom=3.5cm, inner=3.5cm, outer=5cm, marginpar=3.8cm]{geometry} \input{common-packages} \input{common-defs} \newcommand{\figurepath}{figures} \graphicspath{{\figurepath}} \newcommand{\chaptertitle}[1]{ \chapter{#1} \ifdefined\thesispreviewmode \vspace*{-1cm} {\Large \textbf{Draft build}, git revision \texttt{\input{version}}} \vspace*{1cm} \fi \printchapterquote \setstretch{1} \minitoc \newpage \setstretch{1.3} } \begin{document} \setlength{\headheight}{13.6pt} \faketableofcontents \input{chapter} \chapterbibliography \appendix \end{document}