From 46a5ed677e9af8f70d55e8585b97859395494dd7 Mon Sep 17 00:00:00 2001 From: Pierre-antoine Comby Date: Wed, 13 Mar 2019 11:14:13 +0100 Subject: [PATCH] reformat title page --- cours.cls | 40 +++++++++++++++++++++++----------------- 1 file changed, 23 insertions(+), 17 deletions(-) diff --git a/cours.cls b/cours.cls index ae541ee..0ff54da 100644 --- a/cours.cls +++ b/cours.cls @@ -66,7 +66,10 @@ \RequirePackage{setspace} \renewcommand{\maketitle}{% \begin{titlepage} - \centering + \centering + \vspace*{-2cm} + \includegraphics[width=\linewidth]{../../img/bandeau-master-e3a}\\ + \vspace{1cm} {\huge \textsc{M1 E3A - Voie André Ampère}} \vspace{1cm} % \includegraphics[height=4cm]{Saphire} \\ @@ -75,28 +78,31 @@ {} {% \baselineskip=2\baselineskip - {\LARGE \textsc{Module \@module}}\\ + {\Huge \textbf{\textsc{Module \@module}}}\\ %\baselineskip=0.5\baselineskip - } - \vspace{1cm}\vfill + }\vfill \@ifundefined{@title} {} - {{\Huge \textbf{\@title}}} + {{\LARGE \textbf{\@title}}} \vfill - \@ifundefined{@author} - {}{% - {\Large - \underline{Un cours de :}\\ \vspace{1em} - \textsc{\@teacher} \\ \vspace{0.5cm} - \underline{Rédigé et complété par :} \\ \vspace{1em} - \textsc{\@author}} - \vfill} \@ifundefined{@date}{}{% {\LARGE Version du \@date} - \vfill} -% \includegraphics[width=6cm]{ENSPS} -% \hfill -% \includegraphics[width=6cm]{UPS} + \vfill} + \@ifundefined{@author} + {}{% + {\Large + {\raggedright + \underline{Un cours de :}}\hfill + {\raggedleft + \underline{Rédigé et complété par :}} \\ + {\raggedright \textsc{\@teacher}}\hfill + {\raggedleft \textsc{\@author}}}}\\ + \vspace{1cm} + \includegraphics[width=6cm]{../../img/ENSPS} + \hfill + \includegraphics[width=6cm]{../../img/UPS}\\ + \vspace{0.5cm} + \includegraphics[width=\linewidth]{../../img/bandeau-eea} \end{titlepage}} % pas de début de section dans la moitié inférieure d'une page