\documentclass[12pt,a4paper]{report} \usepackage[utf8]{inputenc} \usepackage{titlesec} % titleformat \usepackage{blindtext,color,fancyhdr} \usepackage{geometry} \geometry{a4paper, top=25mm, left=30mm, right=35mm, bottom=35mm, headsep=10mm, footskip=12mm} %\usepackage{multirow,tabularx,tabu} \usepackage{ctable,multirow} \usepackage{cite} \bibliographystyle{plain} \usepackage[hyphens]{url} \Urlmuskip = 0mu plus 1mu \usepackage[numberedsection,toc,numberline,nopostdot]{glossaries} \makenoidxglossaries \newcommand{\topic}{Ensuring Memory-Safety within Address Spaces Using Rust's Static Code Analysis} \newcommand{\authorOne}{Stefan Junker} \newcommand{\authorOneInit}{SJ} \newcommand{\authorOnestreet}{Alemannenstr. 7} \newcommand{\authorOnezip}{78467} \newcommand{\authorOnecity}{Konstanz} \newcommand{\authorOneCountry}{Germany} \newcommand{\authorOneId}{283751} \newcommand{\supervisorOne}{Prof. Dr. Michael Mächtel} \newcommand{\supervisorTwo}{?} \newcommand{\studies}{TODO studies} \newcommand{\startdate}{2017/3/1} \newcommand{\submitdate}{2017/7/30} \newcommand{\buzzwords}{TODO buzzwords} % Numbered Subsubsections \setcounter{secnumdepth}{3} \date{Summersemester 2017} \title{\topic} \author{authorOne} \usepackage{etoolbox} \patchcmd{\part}{\thispagestyle{plain}}{\thispagestyle{empty}} {}{\errmessage{Cannot patch \string\part}} \fancypagestyle{empty}{% \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0pt} \fancyhf{} } \fancypagestyle{front}{% \pagenumbering{roman} \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0pt} \fancyhf{} } \fancypagestyle{preamble}{% \pagenumbering{roman} \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0pt} \fancyhf{} \fancyfoot[R]{\thepage{}} } \fancypagestyle{main}{% \pagenumbering{arabic} \renewcommand{\headrulewidth}{0.25pt} \renewcommand{\footrulewidth}{0.25pt} \fancyhf{} \addtolength{\headwidth}{\marginparsep} \headheight=15pt \fancyhead[L]{\footnotesize\nouppercase{\leftmark}} \fancyhead[C]{} \fancyhead[R]{} \fancyfoot[R]{\thepage{}} } \titlespacing*{\chapter}{0cm}{-1cm}{0.75cm} \titleformat{\chapter}[hang]{\normalfont\Large\bfseries}{\thechapter}{0.5cm}{} \makeatletter %\renewcommand\paragraph{\startsection{paragraph}{4}{\z}% % {-3.25ex\plus -1ex \minus -.2ex}% % {0.0001pt \plus 0.2ex}% % {\normalfont\normalsize\bfseries}} \renewcommand\subparagraph{\startsection{subparagraph}{5}{\z}% {-3.25ex\plus -1ex \minus -.2ex}% {0.0001pt \plus 0.2ex}% {\normalfont\normalsize\bfseries}} \makeatother \include{glossary} \overfullrule=1cm \begin{document} %TODO: \include{cover} \pagestyle{front} \include{title} \pagestyle{preamble} \include{abstract} %TODO: \include{affidavit} \cleardoublepage \newcounter{roman_pagenumbers} % save page number \setcounter{roman_pagenumbers}{\value{page}} \pagestyle{main} %TODO \include{acknowledgments} \chapter*{Preface} This thesis is original, unpublished, independent work by the author, \authorOne. I strongly believe in openness and collaboration in the development of new technology, therefore the development will be based solely on Open-Source software. The results of this project will be freely available on my personal Github site\footnote{https://github.com/steveeJ/msc-thesis} once the academic process of this project is complete. \tableofcontents \part{Context} \printnoidxglossary \include{parts/context/context} \part{Research} \label{part:research} \include{parts/research/research} \part{Development} \part{Conclusion} \newpage %TODO \listofmyequations \listoftables %TODO \lstlistoflistings \listoffigures \bibliography{thesis} \end{document}