From e82bc4e380cc1e270c7009882a1ebbe7161795c2 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Tue, 23 Jul 2024 19:17:47 +0200 Subject: [PATCH] perfect title page --- rapstage.cls | 65 ++++++++++++++++++++++++---------------------------- 1 file changed, 30 insertions(+), 35 deletions(-) diff --git a/rapstage.cls b/rapstage.cls index 61257a7..24e2bb1 100644 --- a/rapstage.cls +++ b/rapstage.cls @@ -45,14 +45,12 @@ \MakeOuterQuote{"} % Format des pages -\RequirePackage[a4paper]{geometry} +\RequirePackage[a4paper,top=3.51cm,bottom=3.3cm,left=5cm,right=5cm]{geometry} % Style de bibliographie \addto{\extrasfrench}{\renewcommand\refname{Bibliographie}} \bibliographystyle{unsrt} -% TODO : Autoriser des commandes sans mail - % Auteur \newcommand{\me@unstarred}[3]{ \gdef\@mef{#1} % first name @@ -164,60 +162,57 @@ \renewcommand{\maketitle}{ \begin{titlepage} \begin{center} - \includegraphics[alt={Logo},height=3.5cm]{images/logo.png} + \includegraphics[alt={Logo},height=3cm]{images/logo.png} { \setmainfont{Arial} - \LARGE + \Large Université Paris Cité\\ } - \vspace{1cm} + \vspace{12mm} - \Large + \large \textsc{Faculté de Sciences}\\ - - \vspace{3mm} - UFR d'Informatique\\ Directrice : \@directeur\\ - \vspace{15mm} + \vspace{13mm} + \Large \textsc{\@subtitle}\\ + \vspace{3mm} \LARGE \textsc{\textbf{\underline{\@title}}} - - \vspace{25mm} - \Large - \begin{tabular}{ll} - \itshape - Tuteur pédagogique : & \itshape\href{\@tpm}{\@tpn} \\ - - \itshape - Tuteur en entreprise : & \itshape\href{\@tem}{\@ten} \\ - \end{tabular} - - \vspace{1cm} - - \hfill - \textit{\@student : \href{\@mail}{\@mef~\textsc{\@mel}}} - - \vfill - \textsc{Année universitaire \@date} \end{center} + + \vfill + + \large + \noindent + \begin{tabular}{ll} + \itshape + Tuteur pédagogique : & \itshape\href{\@tpm}{\@tpn} \\ + + \itshape + Tuteur en entreprise : & \itshape\href{\@tem}{\@ten} \\ + \end{tabular} + + \vspace{2cm} + + \hfill + \textit{\@student : \href{\@mail}{\@mef~\textsc{\@mel}}} + + \vspace{17mm} + \Large + \centering\textsc{Année universitaire \@date} \end{titlepage} % Nouvelle page vierge \setcounter{page}{3} \shipout\null - \newgeometry{ - left=4cm, - right=2cm, - top=3.51cm, - bottom=3.51cm, - } + \newgeometry{right=2cm,left=4cm,bottom=3.51cm} } % Permet d'ajouter la bibliographie