From d8c8ac618bc94073a8c631ba80c26c6c86c26ff3 Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Thu, 3 Jan 2019 17:38:18 +0100 Subject: [PATCH] =?UTF-8?q?Added=20expos=C3=A9=20option?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jim Martens --- masterthesis.sty | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/masterthesis.sty b/masterthesis.sty index 98fe2d9..22e162a 100644 --- a/masterthesis.sty +++ b/masterthesis.sty @@ -29,6 +29,11 @@ \@writeproftrue } +\newif\if@expose\@exposefalse +\DeclareOption{expose}{% + \@exposetrue +} + \ProcessOptions\relax % load packages @@ -119,9 +124,17 @@ \Large \begin{center} \if@privatedefs - \textcolor{uhhRed}{\textbf{\so{MASTERTHESIS}}} + \if@expose + \textcolor{uhhRed}{\textbf{\so{EXPOSE}}} + \else + \textcolor{uhhRed}{\textbf{\so{MASTERTHESIS}}} + \fi \else - \textcolor{red}{\textbf{\so{MASTERTHESIS}}} + \if@expose + \textcolor{red}{\textbf{\so{EXPOSE}}} + \else + \textcolor{red}{\textbf{\so{MASTERTHESIS}}} + \fi \fi \vspace*{2cm}\\ {\LARGE \textbf{\@title}} @@ -140,8 +153,10 @@ \else\fi Studiengang: \studiengang \vspace*{0.4cm} \\ Matrikelnummer: \matrikelnummer \vspace*{0.8cm} \\ + \if@expose\else Erstgutachter: \firstReviewer \vspace*{0.4cm} \\ Zweitgutachter: \secondReviewer + \fi \end{titlepage} \restoregeometry