% A LaTeX template for MSc Thesis submissions to
% Politecnico di Milano (PoliMi) - School of Industrial and Information Engineering
%
% S. Bonetti, A. Gruttadauria, G. Mescolini, A. Zingaro
% e-mail: template-tesi-ingind@polimi.it
%
% Last Revision: October 2021
%
% Copyright 2021 Politecnico di Milano, Italy. NC-BY
\documentclass{Configuration_Files/PoliMi3i_thesis}
%------------------------------------------------------------------------------
% REQUIRED PACKAGES AND CONFIGURATIONS
%------------------------------------------------------------------------------
% CONFIGURATIONS
\usepackage{parskip} % For paragraph layout
\usepackage{setspace} % For using single or double spacing
\usepackage{emptypage} % To insert empty pages
\usepackage{multicol} % To write in multiple columns (executive summary)
\setlength\columnsep{15pt} % Column separation in executive summary
\setlength\parindent{0pt} % Indentation
\raggedbottom
% PACKAGES FOR TITLES
\usepackage{titlesec}
% \titlespacing{\section}{left spacing}{before spacing}{after spacing}
\titlespacing{\section}{0pt}{3.3ex}{2ex}
\titlespacing{\subsection}{0pt}{3.3ex}{1.65ex}
\titlespacing{\subsubsection}{0pt}{3.3ex}{1ex}
\usepackage{color}
% PACKAGES FOR LANGUAGE AND FONT
\usepackage[english]{babel} % The document is in English
\usepackage[utf8]{inputenc} % UTF8 encoding
\usepackage[T1]{fontenc} % Font encoding
\usepackage[11pt]{moresize} % Big fonts
% PACKAGES FOR IMAGES
\usepackage{graphicx}
\usepackage{transparent} % Enables transparent images
\usepackage{eso-pic} % For the background picture on the title page
\usepackage{subfig} % Numbered and caption subfigures using \subfloat.
\usepackage{tikz} % A package for high-quality hand-made figures.
\usetikzlibrary{}
\graphicspath{{./Images/}} % Directory of the images
\usepackage{caption} % Coloured captions
\usepackage{xcolor} % Coloured captions
\usepackage{amsthm,thmtools,xcolor} % Coloured "Theorem"
\usepackage{float}
% STANDARD MATH PACKAGES
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amssymb}
\usepackage{amsfonts}
\usepackage{bm}
\usepackage[overload]{empheq} % For braced-style systems of equations.
\usepackage{fix-cm} % To override original LaTeX restrictions on sizes
% PACKAGES FOR TABLES
\usepackage{tabularx}
\usepackage{longtable} % Tables that can span several pages
\usepackage{colortbl}
% PACKAGES FOR ALGORITHMS (PSEUDO-CODE)
\usepackage{algorithm}
\usepackage{algorithmic}
% PACKAGES FOR REFERENCES & BIBLIOGRAPHY
\usepackage[colorlinks=true,linkcolor=black,anchorcolor=black,citecolor=black,filecolor=black,menucolor=black,runcolor=black,urlcolor=black]{hyperref} % Adds clickable links at references
\usepackage{cleveref}
\usepackage{notoccite}
\usepackage[square, numbers, sort&compress]{natbib} % Square brackets, citing references with numbers, citations sorted by appearance in the text and compressed
\bibliographystyle{ieeetr} % You may use a different style adapted to your field
\def\bibfont{\footnotesize}
% OTHER PACKAGES
\usepackage{pdfpages} % To include a pdf file
\usepackage{afterpage}
\usepackage{lipsum} % DUMMY PACKAGE
\usepackage{fancyhdr} % For the headers
\fancyhf{}
% Input of configuration file. Do not change config.tex file unless you really know what you are doing.
\input{Configuration_Files/config}
%----------------------------------------------------------------------------
% NEW COMMANDS DEFINED
%----------------------------------------------------------------------------
% EXAMPLES OF NEW COMMANDS
\newcommand{\bea}{\begin{eqnarray}} % Shortcut for equation arrays
\newcommand{\eea}{\end{eqnarray}}
\newcommand{\e}[1]{\times 10^{#1}} % Powers of 10 notation
%----------------------------------------------------------------------------
% ADD YOUR PACKAGES (be careful of package interaction)
%----------------------------------------------------------------------------
\usepackage{nomencl}
\makenomenclature
\usepackage{siunitx}
\usepackage{enumitem}
%----------------------------------------------------------------------------
% ADD YOUR DEFINITIONS AND COMMANDS (be careful of existing commands)
%----------------------------------------------------------------------------
%----------------------------------------------------------------------------
% BEGIN OF YOUR DOCUMENT
%----------------------------------------------------------------------------
\begin{document}
\fancypagestyle{plain}{%
\fancyhf{} % Clear all header and footer fields
\fancyhead[RO,RE]{\thepage} %RO=right odd, RE=right even
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}}
%----------------------------------------------------------------------------
% TITLE PAGE
%----------------------------------------------------------------------------
\pagestyle{empty} % No page numbers
\frontmatter % Use roman page numbering style (i, ii, iii, iv...) for the preamble pages
\puttitle{
title={Title}, % Title of the thesis
name=Name, % Author Name and Surname
advisor= Prof. , % Supervisor name
coadvisor={Prof. }, % Co-Supervisor name, remove this line if there is none
%cycle={cicle phd},
tutor=Prof. ,
phdcycle = {Year ... - ... Cycle}
%chair={}
} % These info will be put into your Title page
%----------------------------------------------------------------------------
% PREAMBLE PAGES: ABSTRACT (inglese e italiano), EXECUTIVE SUMMARY
%----------------------------------------------------------------------------
\startpreamble
\setcounter{page}{1} % Set page counter to 1
% ABSTRACT IN ENGLISH
\chapter*{Abstract}
\input{Abstract.tex}
\chapter*{Sommario}
\input{Sommario.tex}
%----------------------------------------------------------------------------
% LIST OF CONTENTS/FIGURES/TABLES/SYMBOLS
%----------------------------------------------------------------------------
% TABLE OF CONTENTS
\setcounter{tocdepth}{3}
\setcounter{secnumdepth}{3}
\tableofcontents % Table of contents
\thispagestyle{empty}
% LIST OF FIGURES
\listoffigures
\thispagestyle{empty}
% LIST OF TABLES
\listoftables
\thispagestyle{empty}
% LIST OF ABBREVIATIONS AND ACRONYMS
\input{Nomenclature.tex}
\thispagestyle{empty}
\cleardoublepage
%-------------------------------------------------------------------------
% THESIS MAIN TEXT
%-------------------------------------------------------------------------
% In the main text of your thesis you can write the chapters in two different ways:
%
%(1) As presented in this template you can write:
% \chapter{Title of the chapter}
% *body of the chapter*
%
%(2) You can write your chapter in a separated .tex file and then include it in the main file with the following command:
% \chapter{Title of the chapter}
% \input{chapter_file.tex}
%
% Especially for long thesis, we recommend you the second option.
\addtocontents{toc}{\vspace{2em}} % Add a gap in the Contents, for aesthetics
\mainmatter % Begin numeric (1,2,3...) page numbering
% --------------------------------------------------------------------------
% NUMBERED CHAPTERS % Regular chapters following
% --------------------------------------------------------------------------
\chapter{Chapter title}
\label{chapter:chapter1}
\input{Chapter1.tex}
\chapter{Conclusions}
\label{chapter:Conclusions}
\input{Conclusions.tex}
%-------------------------------------------------------------------------
% BIBLIOGRAPHY
%-------------------------------------------------------------------------
\addtocontents{toc}{\vspace{2em}} % Add a gap in the Contents, for aesthetics
\bibliography{Thesis_bibliography} % The references information are stored in the file named "Thesis_bibliography.bib"
%-------------------------------------------------------------------------
% APPENDICES
%-------------------------------------------------------------------------
\cleardoublepage
\addtocontents{toc}{\vspace{2em}} % Add a gap in the Contents, for aesthetics
\chapter*{Appendix A}
\label{chapter:Appendix A}
Appendix A
If you want to include a pdf file:
%\includepdf[pages=-,pagecommand=\thispagestyle{empty},]{filetitle.pdf}
% ACKNOWLEDGEMENTS
\addtocontents{toc}{\vspace{2em}} % Add a gap in the Contents, for aesthetics
\chapter*{Acknowledgements}
\input{Acknowledgements.tex}
\cleardoublepage
%\input{Instructions.tex}
\end{document}