\documentclass{article}

% Language setting
% Replace `english' with e.g. `spanish' to change the document language
\usepackage[english]{babel}
\usepackage{csquotes}

% Set page size and margins
% Replace `letterpaper' with`a4paper' for UK/EU standard size
\usepackage[top=2cm,bottom=2cm,left=2cm,right=2cm,marginparwidth=1.75cm]{geometry}

% Useful packages
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage[colorlinks=true, allcolors=blue]{hyperref}
\usepackage[printonlyused]{acronym}
\usepackage{wrapfig}
\usepackage{subcaption} % \captionof
\usepackage{lastpage}
\usepackage{siunitx}
\usepackage[]{todonotes} %\todo[disable,inline,color=green!40]{}  \missingfigure[width=\textwidth]{\ldots} \listoftodos

\newcommand{\dd}{\mathrm d}


%---------------------------------------------------------------------------------
%AHEPaM-specific part starts here:
%---> insert the document's name and other information here
\newcommand{\docname}{cau-ath-fr-0001\_i1-0}
\newcommand{\issue}{1.0}
\newcommand{\issuedate}{2024-08-06}
\newcommand{\docstatus}{released}
\newcommand{\doctype}{Requirements}
%---------------------------------------------------------------------------------

\usepackage{fancyhdr}
\setlength{\headsep}{15mm}
\parindent0pt
\topmargin=-2.cm
\oddsidemargin=.5cm
\textwidth=16.0cm
\textheight=24.cm
\pagestyle{fancy}
\fancyhf{} % clear all fields
\fancyhead[L]{%
  \begin{tabular}[H]{l@{}}
  \vspace*{-10mm}\includegraphics[height=10mm]{shared/cau-colors.jpeg}
  \end{tabular}}
\fancyhead[R]{%
  %\scshape
  \begin{tabular}[t]{l@{}l@{}l@{}}
%----> Insert dates here:
  page: \thepage/\pageref{LastPage}\\issue: \issue\\date: \issuedate
  \end{tabular}}
\fancyhead[C]{%
  %\scshape
  \begin{tabular}[t]{l@{}l@{}l@{}}
%----> Insert document name here    
  Project: AHEPaM\\Doc. Title: Final Report \\ Doc. ID: \docname
  \end{tabular}}
\fancyfoot[C]{\thepage/\pageref{LastPage}}




\usepackage[backend=biber,style=numeric, defernumbers=true, sorting=none]{biblatex}
\addbibresource{/shared/sample.bib} %Imports bibliography file
\bibliography{sample}

%%%%%%%%%%%%%%%%%
%
%   NOTE: To include a bibliography, need to use biber, not bibtex! This allows you to split into applicable and reference documents. See sample.bib on how to handle that.
%
%   biber CAU-ATH-XXXX-XXXX-i-Y.Y
%
%   if you add references to the bib file (and cite them) you probably need to delete the .aux file before recompiling
%
%   More information can be found here: https://en.wikibooks.org/wiki/LaTeX/Bibliographies_with_biblatex_and_biber
%
%%%%%%%%%%%%%%%%

\begin{document}
%\listoftodos\clearpage

\begin{titlepage}
\thispagestyle{fancy}
\vspace*{2cm}
%---> Change Title of Document here
    {\bf \Large AHEPaM Final Report} \vspace{2cm}\\
    \includegraphics[width=\textwidth]{shared/ahepam-title.png} 
\vspace{3cm}
\vfill

%---> Change fields as required. Entries are defined around line 25 (above). 
Prepared by: Patrick Kühl\\
Document type: \doctype\\
Reference: \docname\\ 
Issue/Revision: \issue\\
Date of Issue: \issuedate\\
Status: \docstatus

\end{titlepage}
\setcounter{page}{2}

%---> change abstract as required
\begin{abstract}\normalsize
The scope of this document is to provide a complete description of all the work done during the \acs{AHEPaM} \acs{DM} project. 

%\textcolor{red}{PK, from contract: 4.1.1. Final Report
%a) The Final Report shall provide a complete description of all the work done during the
%activity and shall be self-standing, not requiring to be read in conjunction with reports
%previously issued. It shall cover the whole scope of the activity, i.e. a comprehensive
%introduction of the context, a description of the programme of work and report on the
%activities performed and the main results achieved.
%b) For phased Contracts, a Final Report shall be produced at the end of each Phase in
%accordance with the above definition, describing the work and results of that Phase
%and previous Phases. It becomes the Final Report in case the Agency decides not to
%proceed with the subsequent Phase(s).}
\end{abstract}

%\newpage

%\bibliographystyle{plain}
%This is where the bibliography is included. biber can also handle other keywords.
\printbibliography[keyword={applicable}, title={Applicable Documents}]
\printbibliography[keyword={reference}, title={Reference Documents}]


%\section{Applicable \& Reference Documents}
%\input{refdocs}
\newpage

\section*{Change Log}
%---> Please keep track of changes you made! Indicate them here.

\begin{tabular}{|p{2cm}|p{2cm}|p{10cm}|}\hline\hline
  Issue & Date & Affected page(s), chapter(s), \ldots \\\hline\hline
  1.0 & 2024-08-06 & initial version \\\hline
  \hline
  \end{tabular}

\newpage
\section*{List of Abbreviations and Acronyms}
\input{shared/ahepam-acronyms}
%--- If you use a new acronym, please define it in theis file and update it!

\newpage
\tableofcontents
\newpage

%\input{scope} # i have decided that this can go into the abstract, paddy, 30.05.23

\input{introduction}
\input{design-description}
\input{specifications}
\input{performance_analysis}
\input{thermal-analysis}
\input{structural-analysis}
\input{trade-off-report}
\input{technology-assessment}
\input{summary}


\newpage


\end{document}