diff --git a/hhuthesis.cls b/hhuthesis.cls index 37a3a68e424746bb40ca25bf9e6951f2e0ae713b..96acdb5912f2a3b450ae2433c064dc17c382ba70 100644 --- a/hhuthesis.cls +++ b/hhuthesis.cls @@ -26,6 +26,9 @@ \newcommand{\subject}[1]{\renewcommand{\@subject}{#1}} \newcommand{\@subject}{Informatik} +\newcommand{\subtitle}[1]{\renewcommand{\@subtitle}{#1}} +\newcommand{\@subtitle}{} + %% Allows switching between colour and black/white printing \newif\ifprintblackwhite \printblackwhitefalse @@ -279,6 +282,10 @@ \vspace{3cm} \begin{center} {\fontfamily{\sfdefault}\selectfont \Huge \textbf \@title \par}% + \if\relax\detokenize{\@subtitle}\relax + \else + {\fontfamily{\sfdefault}\selectfont \huge \textbf \@subtitle \par}% + \fi% \vfill \begin{otherlanguage}{ngerman} {{\Large \@degree{}arbeit}\par diff --git a/thesis.tex b/thesis.tex index 0b9d3941f7db40e5d245d0258dd85d013392c114..afd477b2cfa0c300ec9b486659e33a296fd3f37d 100644 --- a/thesis.tex +++ b/thesis.tex @@ -24,6 +24,7 @@ %% Der Titel der Arbeit \title{My Extraordinary Thesis} +% \subtitle{Usually not needed} %% Der zu erreichende Abschluss, entweder Bachelor oder Master \graduationtype{Bachelor}