diff --git a/hhuthesis.cls b/hhuthesis.cls index 3f7dc7935fe2b7c92a4c41337ef949236ef16819..76401997680fecd15c797a66413e761d946355a4 100644 --- a/hhuthesis.cls +++ b/hhuthesis.cls @@ -1,5 +1,5 @@ \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{hhuthesis}[2019/11/22 HHU Thesis LaTeX document class v1.8] +\ProvidesClass{hhuthesis}[2019/12/16 HHU Thesis LaTeX document class v1.9] \DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} % Options fallback. \ProcessOptions\relax @@ -23,6 +23,9 @@ \newcommand{\gratuationtype}[1]{\renewcommand{\@degree}{#1}} \newcommand{\@degree}{Bachelor} +\newcommand{\subject}[1]{\renewcommand{\@subject}{#1}} +\newcommand{\@subject}{Informatik} + %% Allows switching between colour and black/white printing \newif\ifprintblackwhite \printblackwhitefalse @@ -52,6 +55,8 @@ \definecolor{hhuorange}{HTML}{ee7f00} % Orange \definecolor{hhured}{HTML}{be0a26} % Rot +\RequirePackage{ifthen} + \RequirePackage{tikz} \RequirePackage{pgf,pgfplots} %% Setup of colour cylce lists for pgfplots @@ -191,10 +196,15 @@ \begin{center} {\LARGE \textbf \@title \par}% \vfill - {\large \textbf \@author \par}% + {von\\\large \textbf \@author \par}% \vfill - {\large \@degree{}arbeit \par}% - \vspace{35mm} + {{\large \@degree{}arbeit}\par + im Studiengang \@subject \\ + zur Erlangung des akademischen Grades \par + {\large\@degree{} of Science + (\ifthenelse{\equal{\@degree}{Master}}{M}{B}.Sc.) \par} + \par}% + \vspace{20mm} \begin{tabular}{ll} Beginn der Arbeit: & \@begin \\ Abgabe der Arbeit: & \@due \\ @@ -329,7 +339,7 @@ \newcommand{\@makedeclaration}{% \@beginparpenalty\@lowpenalty \begin{center}% - \bfseries \large Ehrenw\"ortliche Erkl\"arung + \bfseries \large Selbstst\"andigkeitserkl\"arung \@endparpenalty\@M \end{center}% diff --git a/thesis.tex b/thesis.tex index 5f90969d4a16fe2bef85542f6928b4315fb6005f..7418d016f61ccebdbd8670c42804221762815989 100644 --- a/thesis.tex +++ b/thesis.tex @@ -29,6 +29,9 @@ \gratuationtype{Bachelor} % \gratuationtype{Master} +%% Ihr Studienfach +\subject{Informatik} + %% Beginn- und Abgabedaten der Arbeit \begindate{03. September 2019} % Beginn \duedate{03. Dezember 2019} % Abgabe