Skip to content
Snippets Groups Projects
Commit 802f0106 authored by John Swinbank's avatar John Swinbank
Browse files

Use more flexible front page layout

parent 8aa236ce
No related branches found
No related tags found
1 merge request!35Use more flexible front page layout
\NeedsTeXFormat{LaTeX2e} \NeedsTeXFormat{LaTeX2e}
\ProvidesClass{escape}[ESCAPE document class] \ProvidesClass{escape}[ESCAPE document class]
% %
% Basic project details % Basic project details
% %
...@@ -138,14 +139,14 @@ ...@@ -138,14 +139,14 @@
\renewcommand{\maketitle}{ \renewcommand{\maketitle}{
\thispagestyle{empty} \thispagestyle{empty}
\begin{textblock*}{1\textwidth}(\sideMargin, 2cm) \newcommand{\printLogo}{
\begin{center} \begin{center}
\includegraphics[width=6cm]{escape-logo.png} \includegraphics[width=6cm]{escape-logo.png}
\end{center} \end{center}
\end{textblock*} }
\begin{textblock*}{1\textwidth}(\sideMargin, 9cm) \newcommand{\projectSummary}{
\useArial {\useArial
\fontsize{10}{12}\selectfont \fontsize{10}{12}\selectfont
\renewcommand{\arraystretch}{1.5} \renewcommand{\arraystretch}{1.5}
\hyphenpenalty=10000 \hyphenpenalty=10000
...@@ -159,20 +160,21 @@ ...@@ -159,20 +160,21 @@
Duration of Project & \projectDuration{}\tabularnewline Duration of Project & \projectDuration{}\tabularnewline
Project Website & \projectWeb{}\tabularnewline Project Website & \projectWeb{}\tabularnewline
\end{tabularx} \end{tabularx}
\renewcommand{\arraystretch}{1} \renewcommand{\arraystretch}{1}}
\end{textblock*} }
\begin{textblock*}{1\textwidth}(\sideMargin, 15.2cm) \newcommand{\docHeading}{
\centering \begin{center}
\begin{minipage}{0.7\textwidth} \begin{minipage}{0.7\textwidth}
\centering \centering
\hyphenpenalty=10000 \hyphenpenalty=10000
\LARGE\textbf{\docNumber{} -- \docTitle{}} \LARGE\textbf{\docNumber{} -- \docTitle{}}
\end{minipage} \end{minipage}
\end{textblock*} \end{center}
}
\begin{textblock*}{1\textwidth}(\sideMargin, 17.5cm) \newcommand{\docDetails}{
\renewcommand{\arraystretch}{1.5} {\renewcommand{\arraystretch}{1.5}
\hyphenpenalty=10000 \hyphenpenalty=10000
\begin{tabularx}{\textwidth}{p{0.25\textwidth}X} \begin{tabularx}{\textwidth}{p{0.25\textwidth}X}
Work Package & \workPackage{}\tabularnewline Work Package & \workPackage{}\tabularnewline
...@@ -182,10 +184,10 @@ ...@@ -182,10 +184,10 @@
Date & \docDate{} \tabularnewline Date & \docDate{} \tabularnewline
Version & \vcsRevision{} \tabularnewline Version & \vcsRevision{} \tabularnewline
\end{tabularx} \end{tabularx}
\renewcommand{\arraystretch}{1} \renewcommand{\arraystretch}{1}}
\end{textblock*} }
\begin{textblock*}{1\textwidth}(\sideMargin, 23.5cm) \newcommand{\disseminationLevel}{
\begin{tabular}{lll} \begin{tabular}{lll}
\multicolumn{3}{l}{Dissemination Level}\tabularnewline \multicolumn{3}{l}{Dissemination Level}\tabularnewline
\fbox{\pu{}} & PU: & Public\tabularnewline \fbox{\pu{}} & PU: & Public\tabularnewline
...@@ -193,14 +195,29 @@ ...@@ -193,14 +195,29 @@
\fbox{\re{}} & RE: & Restricted to a group specified by the consortium (including the Commission)\tabularnewline \fbox{\re{}} & RE: & Restricted to a group specified by the consortium (including the Commission)\tabularnewline
\fbox{\co{}} & CO: & Confidential, only for members of the consortium (including the Commission)\tabularnewline \fbox{\co{}} & CO: & Confidential, only for members of the consortium (including the Commission)\tabularnewline
\end{tabular} \end{tabular}
}
\vspace*{-2cm}
\printLogo
\vspace{0.5cm}
\projectSummary
\vspace{0.5cm}
\docHeading
\vspace{0.5cm}
\docDetails
\begin{textblock*}{1\textwidth}(\sideMargin, 25.5cm)
\disseminationLevel
\end{textblock*} \end{textblock*}
\phantom{Need some text to clear the page}
\clearpage \clearpage
\changeRecord \changeRecord
\section*{Disclaimer} \section*{Disclaimer}
\disclaimer{} \disclaimer{}
\clearpage \clearpage
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment