Skip to content
Snippets Groups Projects
Commit 4d2cff7f authored by Jannik Dunkelau's avatar Jannik Dunkelau
Browse files

Add subtitle command

parent ee075e2f
No related branches found
No related tags found
No related merge requests found
...@@ -26,6 +26,9 @@ ...@@ -26,6 +26,9 @@
\newcommand{\subject}[1]{\renewcommand{\@subject}{#1}} \newcommand{\subject}[1]{\renewcommand{\@subject}{#1}}
\newcommand{\@subject}{Informatik} \newcommand{\@subject}{Informatik}
\newcommand{\subtitle}[1]{\renewcommand{\@subtitle}{#1}}
\newcommand{\@subtitle}{}
%% Allows switching between colour and black/white printing %% Allows switching between colour and black/white printing
\newif\ifprintblackwhite \newif\ifprintblackwhite
\printblackwhitefalse \printblackwhitefalse
...@@ -279,6 +282,10 @@ ...@@ -279,6 +282,10 @@
\vspace{3cm} \vspace{3cm}
\begin{center} \begin{center}
{\fontfamily{\sfdefault}\selectfont \Huge \textbf \@title \par}% {\fontfamily{\sfdefault}\selectfont \Huge \textbf \@title \par}%
\if\relax\detokenize{\@subtitle}\relax
\else
{\fontfamily{\sfdefault}\selectfont \huge \textbf \@subtitle \par}%
\fi%
\vfill \vfill
\begin{otherlanguage}{ngerman} \begin{otherlanguage}{ngerman}
{{\Large \@degree{}arbeit}\par {{\Large \@degree{}arbeit}\par
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
%% Der Titel der Arbeit %% Der Titel der Arbeit
\title{My Extraordinary Thesis} \title{My Extraordinary Thesis}
% \subtitle{Usually not needed}
%% Der zu erreichende Abschluss, entweder Bachelor oder Master %% Der zu erreichende Abschluss, entweder Bachelor oder Master
\graduationtype{Bachelor} \graduationtype{Bachelor}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment