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