From 74c2775f7def05126af004105581c18ec47a9995 Mon Sep 17 00:00:00 2001 From: Gregory Trolliet Date: Fri, 2 Oct 2020 08:43:10 +0200 Subject: [PATCH] Add an option to set a license logo --- formationTitle.sty | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/formationTitle.sty b/formationTitle.sty index a5e81e8..b94feb2 100644 --- a/formationTitle.sty +++ b/formationTitle.sty @@ -68,6 +68,9 @@ not set, please fix this.} \newcommand*{\room}[1]{\gdef\@room{#1}% } +\newcommand*{\license}[1]{\gdef\@license{#1}% +} + \newcounter{PartCounter} \newcommand*{\partCount}{% @@ -126,6 +129,7 @@ not set, please fix this.} \item Objective 3 \end{enumerate}} +%%%%%%%%%%%%%%%%%%%%%%%% TITLE PAGE \renewcommand*{\maketitle}{% \begin{titlepage} {\raggedleft% @@ -180,8 +184,17 @@ not set, please fix this.} \itshape\@room\unskip\strut} \fi \fi + +\ifx\@license\undefined +\else +{\raggedleft% + \vspace{-1cm}\includegraphics[width=2cm]{\@license}\par +} +\fi \end{titlepage} } + +%%%%%%%%%%%%%%%%%%%%%%%%%%%% STEP TABLE \newcommand{\steptable}[1] { \setlength\LTleft{0pt}