\documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage[onehalfspacing]{setspace} \usepackage{geometry} \geometry{ a4paper, width=150mm,top=15mm,bottom=25mm, headheight=15pt, includehead, marginparwidth=2cm } \usepackage{graphicx} % for figures \usepackage{todonotes} % for todo notes \usepackage{url} % for filepaths and urls \usepackage{hyperref} % for hyperlinks % configure headers \usepackage{fancyhdr} % for headers \usepackage{ragged2e} % for aligning in page headers % \lhead{\parbox[t]{0.5\textwidth}{\RaggedRight\rightmark\strut}} % \rhead{\parbox[t]{0.5\textwidth}{\RaggedLeft\leftmark\strut}} % \setlength{\headheight}{5\baselineskip} \pagestyle{fancy} % configure listings \usepackage{listings} % for code highlighting \usepackage{color} % for defining colors in jslistings \input{custom-listing.tex} \setlength\parindent{0pt} % disable indentation for paragraphs \begin{document} \pagenumbering{gobble} % suppress page numbering \begin{titlepage} \begin{center} \vspace*{1cm} \textbf{Master Thesis} \vspace{0.5cm} Subtitle \vspace{1.5cm} \textbf{Alfred Melch} \vfill A thesis presented for the degree of\\ Master of Science \vspace{0.8cm} \includegraphics[width=.4\textwidth]{images/uni-augsburg.jpeg} Department Name\\ University Name\\ Country\\ Date \end{center} \end{titlepage} \section*{Abstract} Abstract goes here \newpage \tableofcontents \newpage \setcounter{page}{1} \pagenumbering{arabic} \input{chapters.tex} \lstlistoflistings \newpage % \input{gliederung.tex} \end{document}