\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,nohyperlinks]{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-djf-0007}
\newcommand{\issue}{1.1}
\newcommand{\issuedate}{2023-11-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: AHEPaM Design Justification File (DJF)\\ 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 Draft AHEPaM Design Justification File (DJF)} \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: Lars Seimetz\\
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
This document contains the design justification of the AHEPaM design.
\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 & 2023-06-15 & initial version \\\hline
  1.1 & 2023-11-06 & The outcome of the performance analysis (Chapter 1.4, page 13) now includes a discussion regarding the high-statistics and high-accuracy modes that are intended to operate in parallel. The discussion puts special emphasis on how the combination of those two data products allow for a reduction of the proton contamination while still maintaining high statistics. The statistical and systematical uncertainties of the different data products and their relationship to each other are also discussed in more detail.      \\\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
%\input{}

\input{performance-analysis}
\newpage


\input{thermal-analysis}
\newpage


\input{structural-analysis}
\newpage


\input{trade-off-report}
\newpage


\input{technology-assessment}
\newpage





\end{document}