%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Title Page
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\pagestyle{empty}

\begin{center}

\phantom{} \\  \vspace{2cm}

  \includegraphics[width=0.6\textwidth]{images/trex-logo.png}

  \vspace{2cm}

    {\Huge \DelNumber{} -- \DelTitle}\\\vspace{1cm}
    {Version \DelVersion}

 \vspace*{\fill}

  {\Huge {GA no 952165}}
  \vspace{1cm}


\end{center}
\noindent
  Dissemination Level\\[5mm]
\newcommand{\Dissemination}{PU}    % TODO   <------
  \begin{tabular*} {\textwidth}{rl}
$\boxtimes$  & PU: Public  \\      % TODO   <------
$\Box$       & PP: Restricted to other programme participants (including the Commission) \\
$\Box$       & RE: Restricted to a group specified by the consortium (including the Commission) \\
$\Box$       & CO: Confidential, only for members of the consortium (including the Commission)
  \end{tabular*} \\



\clearpage

\pagestyle{fancy}
\fancyhf{}
\rhead{Overleaf}
\lhead{Guides and tutorials}


\renewcommand{\footrulewidth}{1pt}

\lhead{ \includegraphics[width=1in]{images/trex-logo.png} }
\rhead{ \DelNumber -- \DelTitle }

\lfoot{
%\setlength{\tabcolsep}{0.3em}
\begin{tabular*}{0.9\textwidth}{l @{\extracolsep{\fill}}l}
\begin{tabular}{c}                                             
\includegraphics[width=0.1\textwidth]{images/EU_flag.png} \\
\end{tabular}
& 
\begin{tabular}{p{0.75\textwidth}}
  \footnotesize
TREX: Targeting Real Chemical Accuracy at the Exascale project  has received
funding from the European Union Horizon 2020 research and       innovation program
under Grant Agreement No. 952165.
\end{tabular} 
\end{tabular*}
}

\rfoot{ \thepage\ of \pageref{LastPage}}




