\documentclass[a4paper,11pt,twoside]{article}
\usepackage[utf8]{inputenc}
\usepackage[myheadings]{fullpage}
\DeclareUnicodeCharacter{0301}{\hspace{-1ex}\'{ }}
\usepackage{fancyhdr}
\usepackage{lastpage}
\usepackage{graphicx, wrapfig, subcaption, setspace, booktabs}
\usepackage[T1]{fontenc}
\usepackage[font=small, labelfont=bf]{caption}
\usepackage{fourier}
\usepackage[protrusion=true, expansion=true]{microtype}
\usepackage{amsmath,amssymb}
\usepackage{float}
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage[colorinlistoftodos]{todonotes}
\usepackage[colorlinks=true, allcolors=blue]{hyperref}
\usepackage{biblatex}
\addbibresource{references.bib}
\usepackage[english]{babel}
\usepackage{csquotes}
\pretocmd{\section}{\cleardoublepage}{}{}
\newcommand{\HRule}[1]{\rule{\linewidth}{#1}}
\onehalfspacing
\setcounter{tocdepth}{5}
\setcounter{secnumdepth}{5}
\usepackage[a4paper,top=2cm,bottom=1.5cm,left=2cm,right=2cm,marginparwidth=1.5cm]{geometry}
\pagestyle{fancy}
\fancyhf{}
\setlength\headheight{15pt}
\fancyhead[L]{Student Number}
\fancyhead[R]{FirstName LastName}
\fancyfoot[R]{\thepage}
\setlength {\marginparwidth }{2cm}
\begin{document}
\date{}
\title{ \normalsize COIMBRA INSTITUTE OF ENGINEERING
\\ [1.0cm]
\includegraphics[width=40mm]{img/isec.png} \\[.5cm]
and \\[.5cm]
\includegraphics[width=50mm]{img/company.png}\\[.5cm]
\normalsize External entity \\ [1.0cm]
Department\\
\small Bachelor in ... - Branch of ...\\
\HRule{2pt} \\
\LARGE \textbf{Internship Title}
\HRule{2pt} \\ [0.5cm]
\normalsize \today \vspace*{5\baselineskip}}
\date{}
\author{
Internship Report \\[0.5cm]
FirstName LastName (student number) \\[1cm]
Supervised by: \\
FirstName LastName, External entity \\
FirstName LastName, ISEC
}
\maketitle
\pagenumbering{roman}
\section{Acknowledgements}
\section{Synopsis}
\section{Abstract}
\tableofcontents
\listoffigures
\listoftables
\section{Abbreviations}
\pagenumbering{arabic}
\section{Introduction}
\subsection{External entity}
\subsection{ISEC}
\subsection{Objectives and work plan}
\subsection{Report structure}
\section{Conclusions and future work}
\subsection{Conclusions}
\subsection{Future work}
\printbibliography
\section{Attachments}
\end{document}