nicer titles

This commit is contained in:
Pierre-antoine Comby 2019-01-23 16:21:21 +01:00
parent c4be4a489c
commit 69699e7350

View file

@ -23,7 +23,6 @@
\RequirePackage{float} \RequirePackage{float}
\RequirePackage{subcaption} \RequirePackage{subcaption}
\RequirePackage{subfiles} \RequirePackage{subfiles}
\RequirePackage{hyperref} \RequirePackage{hyperref}
\hypersetup{ \hypersetup{
bookmarks=true, % show bookmarks bar? bookmarks=true, % show bookmarks bar?
@ -65,7 +64,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\teacher#1{\gdef\@teacher{#1}} \def\teacher#1{\gdef\@teacher{#1}}
\def\module#1{\gdef\@module{#1}} \def\module#1{\gdef\@module{#1}}
\RequirePackage{setspace}
\renewcommand{\maketitle}{% \renewcommand{\maketitle}{%
\begin{titlepage} \begin{titlepage}
\centering \centering
@ -76,7 +75,9 @@
\@ifundefined{@module} \@ifundefined{@module}
{} {}
{% {%
{\LARGE \textsc{Module \@module}}\\ \baselineskip=2\baselineskip
{\LARGE \textsc{Module \@module}}\\
\baselineskip=0.5\baselineskip
} }
\vspace{1cm}\vfill \vspace{1cm}\vfill
\@ifundefined{@title} \@ifundefined{@title}