% ---------------------------
% [TITLE]
% ---------------------------
% (2021) 
% Mariano Sciacco
% 
% ---------------------------
% Theme source: https://git.jojo.party/maxelweb/latex-template-report
%

% ---------------------------
% Package and config
% ---------------------------

\documentclass[12pt]{article}
    
    \usepackage{graphicx} 
    \usepackage[utf8]{inputenc}
    \usepackage[english]{babel}
    \usepackage{float}
    \usepackage{subcaption}
    \usepackage{wrapfig}
    \usepackage[toc,page]{appendix}

    % INDEX - ToC spacing
    \usepackage{tocloft}
    \renewcommand\cftsecafterpnum{\vskip18pt}


    % DOC - margins
    \usepackage[
        top=2.5cm,
        bottom=2.5cm, 
        left=1.75cm,
        right=1.75cm,
        headheight=14.5pt,
       ]{geometry}

    % DOC - style and pagination number       
    \usepackage{fancyhdr} 
    \usepackage{lastpage}

    % DOC - pagestyle with footer/header notations
    \pagestyle{fancy}
    \fancyhead[L]{ }
    % \fancyhf{}
    \fancyfoot{}
    \fancyfoot[L]{ \textit{test} - testing footer}
    \renewcommand{\headrulewidth}{0.1pt}
    \renewcommand{\footrulewidth}{0.1pt}
    \rfoot{ Page \thepage \hspace{1pt} of \pageref*{LastPage}}
    
    \usepackage{xcolor}

    \setlength{\parindent}{2.2em}
	\setlength{\parskip}{1em}
	\renewcommand{\baselinestretch}{1.075}


    % LINK - url colors
    \usepackage{hyperref}         
    \hypersetup{
        colorlinks,
        linkcolor={red!50!black},
        citecolor={blue!50!black},
        urlcolor={blue!80!black}
    }
    \PassOptionsToPackage{hyphens}{url}\usepackage{hyperref}

    % EXTRA - line
    \newcommand{\hr}{\par\vspace{-.1\ht\strutbox}\noindent\hrulefill\par}

    % EXTRA - Pagination and appendix
    \pagenumbering{Roman} % first pages
    \renewcommand{\appendixname}{Appendix}
    \renewcommand\appendixpagename{Appendix}
    \renewcommand\appendixtocname{Appendix}

    % EXTRA - TOC e LOF empty page numbering
    \usepackage{tocloft}
    \tocloftpagestyle{empty}%<- sets the page style on the first page of ToC, LoF and LoT
    \usepackage[nottoc]{tocbibind}%<- add an ToC entry for LoF and LoT


% ---------------------------
% Front page
% ---------------------------

\title{ \huge\textsc{Big title} \\
		\large\textsc{small title}}
\author{\textit{Mario Rossi} (69696969)\\ 
        \textit{Mariano Sciacco} (2007692)}
\date{\small November 2021}


% ---------------------------
% Body
% ---------------------------

\begin{document} 

\begin{figure}[t!]
    \centering
    \includegraphics[height=18em]{images/logo.png}
\end{figure}

\maketitle 
\thispagestyle{empty}

\begin{center}
    \vspace{12em}
    \hr
    \textit{Master's Degree in Computer Science, Department of Mathematics, UniPD}
\end{center}

\newpage
\renewcommand{\baselinestretch}{0.95}\normalsize
\tableofcontents
\renewcommand{\baselinestretch}{1.075}\normalsize

\newpage
\input{sections_list}


\end{document}


% EOF


