\documentclass[12pt,twoside,openright]{report} % ===== PAGE LAYOUT \usepackage[a4paper,width=150mm,top=25mm,bottom=25mm]{geometry} \usepackage[utf8]{inputenc} \usepackage{fancyhdr} \pagestyle{fancy} \renewcommand{\headrulewidth}{2pt} \fancyhf[lh,rh,ch]{} \fancyhf[leh]{\leftmark} \fancyhf[roh]{\rightmark} %\usepackage{titlesec} %\newcommand{\sectionbreak}{\clearpage} % ===== LANGUAGE \usepackage[italian]{babel} % ===== FIGURES AND CAPTIONS \usepackage{graphicx} \graphicspath{ {images/} } \usepackage{caption} \captionsetup[figure]{font=small,labelfont=bf} \captionsetup[table]{font=small,labelfont=bf} % ===== MATHS \usepackage{amsmath} \let\vec\mathbf \let\Re\relax \DeclareMathOperator{\Re}{Re} \usepackage[version=4]{mhchem} % ===== TABLES \usepackage{booktabs} \usepackage{rotating} % ===== TEXT FONTS \usepackage{anyfontsize} \usepackage{xcolor} \usepackage{siunitx} \sisetup{retain-unity-mantissa = false, list-final-separator = { e }, list-pair-separator = { e }, list-units = single, product-units = single} % ===== BIBLIOGRAPHY \usepackage{cite} \usepackage{hyperref} \title{Master Thesis} \author{Lorenzo Zolfanelli} \date{April 2020} \begin{document} \pagestyle{empty} \input{titlepage} \newgeometry{width=150mm,top=25mm,bottom=25mm} \pagestyle{fancy} \setlength{\headheight}{15pt} \chapter*{Abstract} \selectfont Abstract goes here \tableofcontents \input{chapters/1-introduction} \input{chapters/2-setup} \input{chapters/3-methods} \input{chapters/4-results} %\input{setup-fig/fig1} \appendix \input{chapters/A1-AJ_network} \input{chapters/A2-electronics} \bibliography{references.bib}{} \bibliographystyle{plainurl} \end{document}