<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">%%%%  QuantERA Margins
\usepackage[top=3cm, bottom=2.5cm, left=2.5cm, right=2.5cm]{geometry}

%% Set font as required 
\usepackage[T1]{fontenc} % already in preamble
\usepackage{uarial}
\renewcommand{\familydefault}{\sfdefault}

%%%%  reduce paragraph separation
\setlength{\parindent}{0 pt}
\setlength{\parskip}{.5ex}


%%%% Now hack the title etc
% \makeatletter
% \renewcommand{\maketitle}{\bgroup
% \begin{center}
%   \textbf{\Large\@title}

%   \large{\subtitle}

%   \@author
% \end{center}\egroup
% }
% \makeatother

%%%% Fiddle the section spaces
\usepackage[compact,small]{titlesec}  
%\titlespacing{\section}{0pt}{0pt}{0pt}

%%%% Modify the sections 
%\renewcommand{\thesection}{PART~\arabic{section}: }
%\renewcommand{\thesubsection}{\Alph{subsection}.}
%\renewcommand{\thesubsubsection}{\Alph{subsection}.\arabic{subsubsection}.}


%%% make it fancy
\usepackage{fancyhdr}
\pagestyle{fancy}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\fancyheadoffset[loh,reh]{10mm}
\fancyheadoffset[leh,roh]{10mm}
\addtolength{\headsep}{5mm}
\lhead{\raisebox{-0.5\height}{\includegraphics{images/quantera-logo.pdf}}}
\chead{\textbf{\projacro}}
\rhead{{\color{gray}QuantERA Call 2017}}

\usepackage{lastpage}
\cfoot{Page \thepage\ of \pageref{LastPage}}

%%%%% To fix list things: 
\usepackage{enumitem}
%\setlist{noitemsep,topsep=5pt,parsep=5pt,partopsep=5pt}
\setlist{nosep}
\renewcommand{\labelitemi}{\tiny$\blacksquare$}





\newcounter{workpack}
\renewcommand{\theworkpack}{WP\arabic{workpack}}
\renewcommand{\wp}{
  \refstepcounter{workpack}\textbf{\theworkpack}
}

\newlist{objectives}{enumerate}{1}
\setlist[objectives]{label=O\arabic{workpack}.\arabic*\xspace}


\usepackage{framed}
\newenvironment{WP}[4]{%
\begin{minipage}{\linewidth}
\begin{tabular}{|c|l|c|c|}\hline
\wp \label{#4} &amp; \textbf{#1} &amp; Start &amp; End \\
\hfill &amp; \rule{0.75\linewidth}{0pt} &amp; #2 &amp; #3
\end{tabular}
}{%
%after
\end{minipage}}

\newcommand{\WPleader}[1]{%
\begin{tabular}{l|l|c|c|c|c|c|}
\hline
\multicolumn{7}{|l|}{\textbf{Contribution of project partners}\rule{0.63\linewidth}{0pt}}  \\ \hline
\multicolumn{2}{|l|}{Partner number\rule{0.35\textwidth}{0pt}}  #1  \\ \hline
}

\newcommand{\WPleaderStrath}{%
\WPleader{&amp; \rule{3mm}{0pt}\textbf{*1*}\rule{3mm}{0pt}  
          &amp; \rule{4mm}{0pt}2\rule{4mm}{0pt}  
          &amp; \rule{4mm}{0pt}3\rule{4mm}{0pt}  
          &amp; \rule{4mm}{0pt}4\rule{4mm}{0pt}  
          &amp; \rule{4mm}{0pt}5\rule{4mm}{0pt}}
}
\newcommand{\WPleaderOxf}{%
\WPleader{&amp; \rule{4mm}{0pt}1\rule{4mm}{0pt}  
          &amp; \rule{3mm}{0pt}\textbf{*2*}\rule{3mm}{0pt}  
          &amp; \rule{4mm}{0pt}3\rule{4mm}{0pt}  
          &amp; \rule{4mm}{0pt}4\rule{4mm}{0pt}  
          &amp; \rule{4mm}{0pt}5\rule{4mm}{0pt}}
}
\newcommand{\WPleaderLOR}{%
\WPleader{&amp; \rule{4mm}{0pt}1\rule{4mm}{0pt}  
          &amp; \rule{4mm}{0pt}2\rule{4mm}{0pt}  
          &amp; \rule{3mm}{0pt}\textbf{*3*}\rule{3mm}{0pt}  
          &amp; \rule{4mm}{0pt}4\rule{4mm}{0pt}  
          &amp; \rule{4mm}{0pt}5\rule{4mm}{0pt}}
}
\newcommand{\WPleaderATOS}{%
\WPleader{&amp; \rule{4mm}{0pt}1\rule{4mm}{0pt}  
          &amp; \rule{4mm}{0pt}2\rule{4mm}{0pt}  
          &amp; \rule{4mm}{0pt}3\rule{4mm}{0pt}  
          &amp; \rule{3mm}{0pt}\textbf{*4*}\rule{3mm}{0pt}  
          &amp; \rule{4mm}{0pt}5\rule{4mm}{0pt}}
}
\newcommand{\WPleaderNij}{%
\WPleader{&amp;\rule{4mm}{0pt}1\rule{4mm}{0pt}  
          &amp;\rule{4mm}{0pt}2\rule{4mm}{0pt}  
          &amp;\rule{4mm}{0pt}3\rule{4mm}{0pt}  
          &amp;\rule{4mm}{0pt}4\rule{4mm}{0pt}  
          &amp;\rule{3mm}{0pt}\textbf{*5*}\rule{3mm}{0pt}}
}

\newcommand{\WPeffort}[5]{%
\multicolumn{2}{|l|}{Total effort per partner}&amp;#1&amp;#2&amp;#3&amp;#4&amp;#5\\ 
\multicolumn{2}{|l|}{{\small(person*months)}}&amp;&amp;&amp;&amp;&amp;\\\hline
\end{tabular}
}

\newenvironment{WPaim}{%
\begin{tabular}{|p{0.98\linewidth}|}
\textbf{Aim of the WP}\\
}{\end{tabular}}


%%% original
% \newenvironment{WPtasks}{%
% \begin{tabular}{|p{0.055\linewidth}|p{0.9\linewidth}|} \hline
% \multicolumn{2}{|l|}{\textbf{Tasks}}\\\hline
% }{\end{tabular}}


%%% hacked to fix spacing issue
\newenvironment{WPtasks}{%
\begin{tabular}{|c|p{0.9\linewidth}|} \hline
\multicolumn{2}{|l|}{\textbf{Tasks}}\\\hline
}{\end{tabular}}


\newcounter{workpacktask}[workpack]
\renewcommand{\theworkpacktask}{T\arabic{workpack}.\arabic{workpacktask}}
\newcommand{\wptask}{\refstepcounter{workpacktask}\textbf{\theworkpacktask}}

\newcommand{\WPtask}[3][]{\wptask#1&amp;\textbf{#2}\\&amp;#3\\\hline}



\newcounter{workpackdeliverable}[workpack]
\renewcommand{\theworkpackdeliverable}{D\arabic{workpack}.\arabic{workpackdeliverable}}
\newcommand{\wpdeliverable}{
  \refstepcounter{workpackdeliverable}\textbf{\theworkpackdeliverable}%
}

% hacked for hyperref vspace bug
\newenvironment{WPdeliverables}{%
\begin{tabular}{|c|c|p{0.7\linewidth}|} \hline
\textbf{Deliverable}&amp; \textbf{Month of} &amp; \textbf{Title of deliverable}\\
&amp; \textbf{delivery}&amp;\\\hline
}{\end{tabular}}

\newcommand{\WPdeliverable}[3][]{\wpdeliverable#1 &amp; #2 &amp; #3 \\\hline}

\newcounter{milestone}
\renewcommand{\themilestone}{M\arabic{milestone}}
\newcommand{\ms}{
  \refstepcounter{milestone}\textbf{\themilestone}
}

%%%% time for hackery.

\let\OLDthebibliography\thebibliography
\renewcommand\thebibliography[1]{
  \OLDthebibliography{#1}
  \setlength{\parskip}{0pt}
  \setlength{\itemsep}{0pt plus 0.3ex}
}
</pre></body></html>