%%% Note: Adjust the number of \bigskip to fit everything in one page
\thispagestyle{empty}
\pagenumbering{gobble}

\setlength\oddsidemargin{\dimexpr(\paperwidth-\textwidth)/2 - 1in\relax}
\setlength\evensidemargin{\oddsidemargin}

\makeatletter
\begin{changemargin}{-25mm}{-15mm}
    \noindent
    \vspace*{-25mm}%
    \begin{center}%
        \includegraphics[keepaspectratio, height=1.5cm,valign=c]{\@UniversityLogo}%
        \ifdefempty{\@LaboLogo}{}{\hfill\includegraphics[keepaspectratio, height=1.5cm,valign=c]{\@LaboLogo}}%
        \hfill%
        \includegraphics[keepaspectratio, height=1.75cm,valign=c]{\@DoctoralSchoolLogo}\\\vspace{5mm}
        {\ifdefempty{\@LaboLogo}{\vspace{-15mm}}{}\Large\bf \MakeUppercase{\@UniversityName}}\\\vspace{10mm}
        {\large\bf\textit{\MakeUppercase{\@DoctoralSchoolName}}}\\\vspace{5mm}
        {\bf \@LaboName}
    \end{center}
\end{changemargin}
\vfill%
\begin{changemargin}{-15mm}{0mm}
    \begin{center}
        \huge \textbf{TH\`ESE} \large pr\'esent\'ee par\\\vspace{5mm}
        {\LARGE\bf \@Firstname\, \MakeUppercase{\@Lastname}}\\\vspace{5mm}
        {\large soutenue le: \bfseries \@ThesisDate}\vspace{5mm}

        \begin{tabular}{rl}
         pour obtenir le grade de:  & \textbf{Docteur de l'\@UniversityName} \\
         Discipline/Sp\'ecialit\'e: & \@Discipline \ifdefempty{\@Speciality}{}{/\@Speciality}
        \end{tabular}\vspace{1cm}%

        \begin{mybox}%
            \Huge\centering{\bfseries \@TitreThese}\\
            \ifdefempty{\@SousTitreThese}
                {}
                {\Large\centering{\bfseries \@SousTitreThese}}
        \end{mybox}%
    \end{center}%
\end{changemargin}%
\vfill%
\begin{changemargin}{-25mm}{-15mm}
    {\large\bfseries THÈSE dirigée par}:\vspace{2mm}

    \begin{tabular}{p{7cm}p{10cm}}%
        \@directeurs
    \end{tabular}\vspace{3mm}

    {\large\bfseries RAPPORTEURS}:\vspace{2mm}

    \begin{tabular}{p{7cm}p{10cm}}
        \@rapporteurs
    \end{tabular}\vspace{3mm}

    \noindent\makebox[\linewidth]{\rule{0.83\paperwidth}{0.4pt}}\vspace{3mm}

    {\large\bfseries AUTRES MEMBRES DU JURY}:\vspace{2mm}

    \begin{tabular}{p{7cm}p{10cm}}
        \@jury
    \end{tabular}\vspace{3mm}

\end{changemargin}
\makeatother

% go back to default geometry settings
\setlength\oddsidemargin{\defaultOddsidemargin}
\setlength\evensidemargin{\defaultEvensidemargin}
