Skip to content
Snippets Groups Projects
HsH-report.cls 15 KiB
Newer Older
  • Learn to ignore specific revisions
  • Jan Wille's avatar
    Jan Wille committed
    \typeout{Adapted from KOMA script for use in Hochschule Hannover <2022-02-09> Jan Wille}
    
    Jan Wille's avatar
    Jan Wille committed
    \NeedsTeXFormat{LaTeX2e}
    
    
    Jan Wille's avatar
    Jan Wille committed
    \newcommand{\myClassName}{HsH-report}
    
    Jan Wille's avatar
    Jan Wille committed
    \ProvidesClass{\myClassName}[2021/02/09 HsH Report based on KOMA]
    
    Jan Wille's avatar
    Jan Wille committed
    \newcommand{\HsHlogoPath}{HSH-Logo.pdf}
    
    Jan Wille's avatar
    Jan Wille committed
    \newcommand{\HsHlogoPage}{1}
    
    \newif\if@german%
    
    Jan Wille's avatar
    Jan Wille committed
    \DeclareOption{german}{%
    	\PassOptionsToPackage{ngerman}{babel}
    	\@germantrue
    }
    
    Jan Wille's avatar
    Jan Wille committed
    \DeclareOption{ngerman}{%
    
    Jan Wille's avatar
    Jan Wille committed
    	\PassOptionsToPackage{\CurrentOption}{babel}
    
    Jan Wille's avatar
    Jan Wille committed
    }
    \DeclareOption{english}{%
    
    	\PassOptionsToPackage{\CurrentOption}{babel}
    
    Jan Wille's avatar
    Jan Wille committed
    }
    \DeclareOption{f1}{%
    
    Jan Wille's avatar
    Jan Wille committed
    	\renewcommand{\HsHlogoPage}{2}
    
    Jan Wille's avatar
    Jan Wille committed
    }
    \DeclareOption{f2}{%
    
    Jan Wille's avatar
    Jan Wille committed
    	\renewcommand{\HsHlogoPage}{3}
    
    Jan Wille's avatar
    Jan Wille committed
    }
    \DeclareOption{f3}{%
    
    Jan Wille's avatar
    Jan Wille committed
    	\renewcommand{\HsHlogoPage}{4}
    
    Jan Wille's avatar
    Jan Wille committed
    }
    \DeclareOption{f4}{%
    
    Jan Wille's avatar
    Jan Wille committed
    	\renewcommand{\HsHlogoPage}{5}
    
    Jan Wille's avatar
    Jan Wille committed
    }
    \DeclareOption{f5}{%
    
    Jan Wille's avatar
    Jan Wille committed
    	\renewcommand{\HsHlogoPage}{6}
    
    Jan Wille's avatar
    Jan Wille committed
    }
    \DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrreprt}}
    
    Jan Wille's avatar
    Jan Wille committed
    
    
    \@ifclasswith{\myClassName}{english}{}{\@ifclasswith{\myClassName}{ngerman}{}{\ExecuteOptions{ngerman}}}
    
    Jan Wille's avatar
    Jan Wille committed
    \ProcessOptions\relax
    
    Jan Wille's avatar
    Jan Wille committed
    
    
    % Load KOMA class
    \LoadClass{scrreprt}
    \KOMAoption{toc}{bibliography,listof}
    
    
    Jan Wille's avatar
    Jan Wille committed
    % standart options for packages
    
    Jan Wille's avatar
    Jan Wille committed
    \PassOptionsToPackage{utf8}{inputenc}
    \PassOptionsToPackage{T1}{fontenc}
    \PassOptionsToPackage{left=3cm,right=2.5cm,top=3cm,bottom=3cm}{geometry}
    
    Jan Wille's avatar
    Jan Wille committed
    \PassOptionsToPackage{hidelinks}{hyperref}
    
    Jan Wille's avatar
    Jan Wille committed
    \PassOptionsToPackage{headsepline}{scrlayer-scrpage}
    
    \PassOptionsToPackage{babel}{csquotes}
    \if@german\PassOptionsToPackage{german=quotes}{csquotes}\fi
    
    Jan Wille's avatar
    Jan Wille committed
    
    \PassOptionsToPackage{backend=biber,style=alphabetic,sorting=nyt}{biblatex}
    
    Jan Wille's avatar
    Jan Wille committed
    \PassOptionsToPackage{free-standing-units,abbreviations}{siunitx}
    
    \PassOptionsToPackage{european,EFvoltages,straightvoltages}{circuitikz}
    
    Jan Wille's avatar
    Jan Wille committed
    
    
    Jan Wille's avatar
    Jan Wille committed
    % used packages:
    
    Jan Wille's avatar
    Jan Wille committed
    \RequirePackage{inputenc} % inputencoding, utf8 recomendet
    \RequirePackage{fontenc} % outputencoding, T1 recomendet
    \RequirePackage{lmodern} % font
    
    Jan Wille's avatar
    Jan Wille committed
    \RequirePackage{babel} % required for german names
    
    Jan Wille's avatar
    Jan Wille committed
    \RequirePackage{geometry} % required for changing layout
    
    Jan Wille's avatar
    Jan Wille committed
    \RequirePackage{scrlayer-scrpage} % required for header and footer
    \RequirePackage{scrhack} % compatability with listings
    \RequirePackage{pgffor} % foreach loops
    
    Jan Wille's avatar
    Jan Wille committed
    \RequirePackage{graphicx} % required for importing images
    
    Jan Wille's avatar
    Jan Wille committed
    \RequirePackage{hyperref} % references and lists are clikable
    \RequirePackage{bookmark} % generat bookmarkes
    
    \RequirePackage{amsmath} % a lot of nice Math
    
    Jan Wille's avatar
    Jan Wille committed
    \RequirePackage{csquotes} % quotations
    
    \if@german\RequirePackage{ziffer}\fi % german dezimal numbers
    
    Jan Wille's avatar
    Jan Wille committed
    
    
    
    Jan Wille's avatar
    Jan Wille committed
     % config for title, header and footer
    \InputIfFileExists{personal.tex}{
    	\ClassInfo{\myClassName}{personal.tex was found. Using it...}
    }{
    	\ClassInfo{\myClassName}{no personal.tex! Configre the titlepage yourselfe}
    }
    
    Jan Wille's avatar
    Jan Wille committed
    \pagestyle{scrheadings}
    
    Jan Wille's avatar
    Jan Wille committed
    \clearpairofpagestyles
    
    \renewcommand*{\chapterpagestyle}{scrheadings} % Chaptertitles get same header/footer as everything
    
    Jan Wille's avatar
    Jan Wille committed
    \automark{chapter}
    
    Jan Wille's avatar
    Jan Wille committed
    \ohead{\headmark}
    \ihead{\@title}
    
    Jan Wille's avatar
    Jan Wille committed
    \ofoot*{\pagemark}
    
    Jan Wille's avatar
    Jan Wille committed
    
    
    Jan Wille's avatar
    Jan Wille committed
    % typesetting indexes upright or standart
    
    Jan Wille's avatar
    Jan Wille committed
    \def\subinrm#1{\sb{\mathrm{#1}}}
    
    Jan Wille's avatar
    Jan Wille committed
    {\catcode`\_=13 \global\let_=\subinrm}
    \mathcode`_="8000
    
    Jan Wille's avatar
    Jan Wille committed
    \newcommand\upsubscripts{\catcode`\_=12 } % the toggle for upright subscripts
    \newcommand\normalsubscripts{\catcode`\_=8 } % the toggle for italic subscripts
    \upsubscripts % setting upright as default
    
    Jan Wille's avatar
    Jan Wille committed
    
    
    Jan Wille's avatar
    Jan Wille committed
    % styling for itemize
    \renewcommand{\labelitemi}{$\bullet$}
    \renewcommand{\labelitemii}{$\circ$}
    \renewcommand{\labelitemiii}{$-$}
    \renewcommand{\labelitemiv}{$\cdot$}
    
    
    Jan Wille's avatar
    Jan Wille committed
    % do stuff
    
    Jan Wille's avatar
    Jan Wille committed
    \setlength\parindent{0pt} % indentation of new paragraphs
    \raggedbottom
    
    Jan Wille's avatar
    Jan Wille committed
    \renewcommand{\fps@figure}{h!t} % positioning of figures
    \renewcommand{\fps@table}{h!t} % Positonierung of tables
    
    Jan Wille's avatar
    Jan Wille committed
    \renewcommand{\layercontentsmeasure}{\empty} % rulers when using draft disabled
    
    Jan Wille's avatar
    Jan Wille committed
    \renewcommand{\familydefault}{\sfdefault} % Sans-Serif Font as standard
    
    Jan Wille's avatar
    Jan Wille committed
    \MakeOuterQuote{"} % easy quotationmarks
    
    Jan Wille's avatar
    Jan Wille committed
    % custom commands
    
    \newcommand{\includeHsHlogohere}{\includegraphics[width=5cm,page=\HsHlogoPage]{\HsHlogoPath}}
    
    \providecommand{\abs}[1]{\ensuremath{\left\vert#1\right\vert}} % Makro for vertical lines around absolute values
    
    Jan Wille's avatar
    Jan Wille committed
    \newcommand\declarationAuthorship{
    
    Jan Wille's avatar
    Jan Wille committed
    	\thispagestyle{plain}
    
    Jan Wille's avatar
    Jan Wille committed
    	\vspace*{\fill}
    	{\rule{\textwidth}{0.1pt}}
    	\vspace{0.5cm}
    
    	\renewcommand{\thanks}{\sbox0}
    
    
    	\if@german{
    		\newcommand{\pronomen}{ich}
    		\newcommand{\plutalendung}{}
    		\newcommand{\genitiv}{mir}
    		\foreach \x [count=\i] in \@author{
    			\ifnum\i>1
    				\gdef\pronomen{wir}
    				\gdef\plutalendung{n}
    				\gdef\genitiv{uns}
    			\else\fi
    		}
    		\begin{center}
    			\huge \textbf{Selbstständigkeitserklärung}\\
    		\end{center}
    		\vspace{1cm}\normalsize
    		Hiermit bestätige\plutalendung\space\pronomen, dass die folgende Arbeit eigenständig von \genitiv\space allein erstellt und unter
    
    Jan Wille's avatar
    Jan Wille committed
    		Berücksichtigung der zur Verfügung gestellten Aufgabenstellung sowie dem Arbeitsmaterial unter Angabe aller verwendeten Quellen erarbeitet
    
    		wurde. Die Regelungen und Konsequenzen eines Plagiats, inklusive disziplinarischer Maßnahmen, sind \genitiv\space bewusst. Insbesondere wurden
    
    Jan Wille's avatar
    Jan Wille committed
    		alle Zitate und gedanklichen Übernahmen als solche kenntlich gemacht.
    
    	}\else{
    		\newcommand{\pronomen}{I}
    		\newcommand{\pronomenf}{I}
    		\newcommand{\genitiv}{my}
    		\newcommand{\proniomeverb}{am}
    		\foreach \x [count=\i] in \@author{
    			\ifnum\i>1
    				\gdef\pronomenf{We}
    				\gdef\pronomen{we}
    				\gdef\genitiv{our}
    				\gdef\proniomeverb{are}
    			\else\fi
    		}
    		\begin{center}
    
    Jan Wille's avatar
    Jan Wille committed
    			\huge \textbf{Declaration of Authorship}\\
    
    		\end{center}
    		\vspace{1cm}\normalsize
    
    Jan Wille's avatar
    Jan Wille committed
    		\pronomenf\space hereby certify that the work \pronomen\space\proniomeverb\space submitting is entirely of \genitiv\space own making except
    		where otherwise indicated. \pronomenf\space\proniomeverb\space aware of regulations concerning plagiarism, including disciplinary actions that
    		may result from it. Any use of the works of any other author, in any form, is properly acknowledged at their point of use.
    
    Jan Wille's avatar
    Jan Wille committed
    	\begin{flushright}
    
    Jan Wille's avatar
    Jan Wille committed
    		\foreach \x [count=\i] in \@author{
    			\begin{tabular}[t]{r}
    
    Jan Wille's avatar
    Jan Wille committed
    				\rule{4cm}{0.4pt} \\
    				{\footnotesize\x}
    			\end{tabular}
    		}
    
    Jan Wille's avatar
    Jan Wille committed
    	\end{flushright}
    }
    
    
    Jan Wille's avatar
    Jan Wille committed
    \renewenvironment{abstract}{%
    	\chapter*{\centering\abstractname}
    	\addcontentsline{toc}{chapter}{\abstractname}
    
    Jan Wille's avatar
    Jan Wille committed
    		\small
    		\quotation
    
    Jan Wille's avatar
    Jan Wille committed
    }{%
    	\endquotation
    }
    
    
    Jan Wille's avatar
    Jan Wille committed
    % load config at beginning of document
    
    Jan Wille's avatar
    Jan Wille committed
    \AtBeginDocument {
    	\makeatletter
    	\InputIfFileExists{config.tex}{
    		\ClassInfo{\myClassName}{config.tex was found. Using it...}
    	}{
    		\ClassInfo{\myClassName}{no config.tex!! I hope you configered it yourself.}
    	}
    	\makeatother
    
    Jan Wille's avatar
    Jan Wille committed
    }
    
    
    Jan Wille's avatar
    Jan Wille committed
    % reconfig Titlepage
    
    Jan Wille's avatar
    Jan Wille committed
    \renewcommand\maketitle[1][1]{%
    	\expandafter\ifnum \csname scr@v@3.12\endcsname>\scr@compatibility\relax
    	\else
    		\def\and{%
    			\end{tabular}%
    			\hskip 1em \@plus.17fil%
    			\begin{tabular}[t]{c}%
    		}%
    	\fi
    	\if@titlepage
    		\begin{titlepage}
    			\setcounter{page}{%
    				#1%
    			}%
    			\if@titlepageiscoverpage
    				\edef\titlepage@restore{%
    					\noexpand\endgroup
    					\noexpand\global\noexpand\@colht\the\@colht
    					\noexpand\global\noexpand\@colroom\the\@colroom
    					\noexpand\global\vsize\the\vsize
    					\noexpand\global\noexpand\@titlepageiscoverpagefalse
    					\noexpand\let\noexpand\titlepage@restore\noexpand\relax
    				}%
    				\begingroup
    				\topmargin=\dimexpr \coverpagetopmargin-1in\relax
    				\oddsidemargin=\dimexpr \coverpageleftmargin-1in\relax
    				\evensidemargin=\dimexpr \coverpageleftmargin-1in\relax
    				\textwidth=\dimexpr
    				\paperwidth-\coverpageleftmargin-\coverpagerightmargin\relax
    				\textheight=\dimexpr
    				\paperheight-\coverpagetopmargin-\coverpagebottommargin\relax
    				\headheight=0pt
    				\headsep=0pt
    				\footskip=\baselineskip
    				\@colht=\textheight
    				\@colroom=\textheight
    				\vsize=\textheight
    				\columnwidth=\textwidth
    				\hsize=\columnwidth
    				\linewidth=\hsize
    			\else
    				\let\titlepage@restore\relax
    			\fi
    			\let\footnotesize\small
    			\let\footnoterule\relax
    			\let\footnote\thanks
    			\renewcommand*\thefootnote{\@fnsymbol\c@footnote}%
    			\let\@oldmakefnmark\@makefnmark
    			\renewcommand*{\@makefnmark}{\rlap\@oldmakefnmark}%
    			\ifx\@extratitle\@empty
    				\ifx\@frontispiece\@empty
    				\else
    					\if@twoside\mbox{}\next@tpage\fi
    					\noindent\@frontispiece\next@tdpage
    				\fi
    			\else
    				\noindent\@extratitle
    				\ifx\@frontispiece\@empty
    				\else
    					\next@tpage
    					\noindent\@frontispiece
    				\fi
    				\next@tdpage
    			\fi
    			\setparsizes{\z@}{\z@}{\z@\@plus 1fil}\par@updaterelative
    			% Customised: -----------------------------------------------------------
    			\IfFileExists{\HsHlogoPath}{}{
    				\ClassError{\myClassName}{HsH-Logo.pdf not found!}{
    					The HsH Logo is necasary for the titlepage! Try putting it next to your source file or use \HsHlogoPath to define the file location
    				}
    			}
    			\vspace*{1cm}
    			\begin{minipage}[t]{\textwidth}%
    				\ifx\@titlehead\@empty \else
    					\usekomafont{titlehead}{\@titlehead}%
    				\fi
    				\hfill
    
    Jan Wille's avatar
    Jan Wille committed
    				\raisebox{0pt}[\ht\strutbox][\dp\strutbox]{\includeHsHlogohere}
    
    Jan Wille's avatar
    Jan Wille committed
    			\end{minipage}
    			\raisebox{10pt}{\rule{\textwidth}{0.5pt}}
    			% end Customised: --------------------------------------------------------
    			\null\vfill
    			\begin{center}
    				\ifx\@subject\@empty \else
    					{\usekomafont{subject}{\@subject\par}}%
    					\vskip 3em
    				\fi
    				{\usekomafont{title}{\huge \@title\par}}%
    				\vskip 1em
    				{\ifx\@subtitle\@empty\else\usekomafont{subtitle}{\@subtitle\par}\fi}%
    
    Jan Wille's avatar
    Jan Wille committed
    				% Customised: -----------------------------------------------------------
    
    				\vskip 4em
    
    Jan Wille's avatar
    Jan Wille committed
    				{\if\@author\@empty\else\usekomafont{author}{\parbox{\dimexpr\linewidth}{\centering\@author}}\fi}%
    				% end Customised: --------------------------------------------------------
    
    Jan Wille's avatar
    Jan Wille committed
    				\vskip 1.5em
    				{\usekomafont{date}{\@date \par}}%
    				\vskip \z@ \@plus3fill
    
    Jan Wille's avatar
    Jan Wille committed
    				%{\usekomafont{publishers}{\@publishers \par}}%
    
    Jan Wille's avatar
    Jan Wille committed
    				\vskip 3em
    			\end{center}\par
    			\@thanks\global\let\@thanks\@empty
    			\vfill\null
    			\if@twoside
    				\@tempswatrue
    				\expandafter\ifnum \@nameuse{scr@v@3.12}>\scr@compatibility\relax
    				\else
    					\ifx\@uppertitleback\@empty\ifx\@lowertitleback\@empty
    						\@tempswafalse
    					\fi\fi
    				\fi
    				\if@tempswa
    					\next@tpage
    					\begin{minipage}[t]{\textwidth}
    						\@uppertitleback
    					\end{minipage}\par
    					\vfill
    					\begin{minipage}[b]{\textwidth}
    						\@lowertitleback
    					\end{minipage}\par
    					\@thanks\global\let\@thanks\@empty
    				\fi
    			\else
    				\ifx\@uppertitleback\@empty\else
    					\ClassWarning{\KOMAClassName}{%
    						non empty \string\uppertitleback\space ignored
    						by \string\maketitle\MessageBreak
    						in `twoside=false' mode%
    					}%
    				\fi
    				\ifx\@lowertitleback\@empty\else
    					\ClassWarning{\KOMAClassName}{%
    						non empty \string\lowertitleback\space ignored
    						by \string\maketitle\MessageBreak
    						in `twoside=false' mode%
    					}%
    				\fi
    			\fi
    			\ifx\@dedication\@empty
    			\else
    				\next@tdpage\null\vfill
    				{\centering\usekomafont{dedication}{\@dedication \par}}%
    				\vskip \z@ \@plus3fill
    				\@thanks\global\let\@thanks\@empty
    				\cleardoubleemptypage
    			\fi
    			\ifx\titlepage@restore\relax\else\clearpage\titlepage@restore\fi
    		\end{titlepage}
    	\else
    		\par
    		\@tempcnta=%
    		#1%
    		\relax\ifnum\@tempcnta=1\else
    			\ClassWarning{\KOMAClassName}{%
    				Optional argument of \string\maketitle\space ignored\MessageBreak
    				in `titlepage=false' mode%
    			}%
    		\fi
    		\ifx\@uppertitleback\@empty\else
    			\ClassWarning{\KOMAClassName}{%
    				non empty \string\uppertitleback\space ignored
    				by \string\maketitle\MessageBreak
    				in `titlepage=false' mode%
    			}%
    		\fi
    		\ifx\@lowertitleback\@empty\else
    			\ClassWarning{\KOMAClassName}{%
    				non empty \string\lowertitleback\space ignored
    				by \string\maketitle\MessageBreak
    				in `titlepage=false' mode%
    			}%
    		\fi
    		\begingroup
    			\let\titlepage@restore\relax
    			\renewcommand*\thefootnote{\@fnsymbol\c@footnote}%
    			\let\@oldmakefnmark\@makefnmark
    			\renewcommand*{\@makefnmark}{\rlap\@oldmakefnmark}%
    			\next@tdpage
    			\if@twocolumn
    				\ifnum \col@number=\@ne
    					\ifx\@extratitle\@empty
    						\ifx\@frontispiece\@empty\else\if@twoside\mbox{}\fi\fi
    					\else
    						\@makeextratitle
    					\fi
    					\ifx\@frontispiece\@empty
    						\ifx\@extratitle\@empty\else\next@tdpage\fi
    					\else
    						\next@tpage
    						\@makefrontispiece
    						\next@tdpage
    					\fi
    					\@maketitle
    				\else
    					\ifx\@extratitle\@empty
    						\ifx\@frontispiece\@empty\else\if@twoside\mbox{}\fi\fi
    					\else
    						\twocolumn[\@makeextratitle]%
    					\fi
    					\ifx\@frontispiece\@empty
    						\ifx\@extratitle\@empty\else\next@tdpage\fi
    					\else
    						\next@tpage
    						\twocolumn[\@makefrontispiece]%
    						\next@tdpage
    					\fi
    					\twocolumn[\@maketitle]%
    				\fi
    			\else
    				\ifx\@extratitle\@empty
    					\ifx\@frontispiece\@empty\else \mbox{}\fi
    				\else
    					\@makeextratitle
    				\fi
    				\ifx\@frontispiece\@empty
    					\ifx\@extratitle\@empty\else\next@tdpage\fi
    				\else
    					\next@tpage
    					\@makefrontispiece
    					\next@tdpage
    				\fi
    				\@maketitle
    			\fi
    			\ifx\titlepagestyle\@empty\else\thispagestyle{\titlepagestyle}\fi
    			\@thanks\global\let\@thanks\@empty
    		\endgroup
    	\fi
    	\setcounter{footnote}{0}%
    	\expandafter\ifnum \csname scr@v@3.12\endcsname>\scr@compatibility\relax
    		\let\thanks\relax
    		\let\maketitle\relax
    		\let\@maketitle\relax
    		\global\let\@thanks\@empty
    		\global\let\@author\@empty
    		\global\let\@date\@empty
    		\global\let\@title\@empty
    		\global\let\@subtitle\@empty
    		\global\let\@extratitle\@empty
    		\global\let\@frontispiece\@empty
    		\global\let\@titlehead\@empty
    		\global\let\@subject\@empty
    		\global\let\@publishers\@empty
    		\global\let\@uppertitleback\@empty
    		\global\let\@lowertitleback\@empty
    		\global\let\@dedication\@empty
    		\global\let\author\relax
    		\global\let\title\relax
    		\global\let\extratitle\relax
    		\global\let\titlehead\relax
    		\global\let\subject\relax
    		\global\let\publishers\relax
    		\global\let\uppertitleback\relax
    		\global\let\lowertitleback\relax
    		\global\let\dedication\relax
    		\global\let\date\relax
    	\fi
    	\global\let\and\relax
    
    }%
    
    \renewcommand*{\@maketitle}{%
    	\global\@topnum=\z@
    	\setparsizes{\z@}{\z@}{\z@\@plus 1fil}\par@updaterelative
    	% Customised: -----------------------------------------------------------
    	\IfFileExists{\HsHlogoPath}{}{
    		\ClassError{\myClassName}{HsH-Logo.pdf not found!}{
    			The HsH Logo is necasary for the titlepage! Try putting it next to your source file or use \HsHlogoPath to define the file location
    		}
    	}
    	\vspace*{1cm}
    	\begin{minipage}[t]{\textwidth}%
    		\ifx\@titlehead\@empty \else
    			\usekomafont{titlehead}{\@titlehead}%
    		\fi
    		\hfill
    
    Jan Wille's avatar
    Jan Wille committed
    		\raisebox{0pt}[\ht\strutbox][\dp\strutbox]{\includeHsHlogohere}
    
    	\end{minipage}
    	\raisebox{10pt}{\rule{\textwidth}{0.5pt}}
    	% end Customised: --------------------------------------------------------
    	\null
    	\vskip 2em%
    	\begin{center}%
    		\ifx\@subject\@empty \else
    		{\usekomafont{subject}{\@subject \par}}%
    		\vskip 1.5em
    		\fi
    		{\usekomafont{title}{\huge \@title \par}}%
    		\vskip .5em
    		{\ifx\@subtitle\@empty\else\usekomafont{subtitle}\@subtitle\par\fi}%
    
    Jan Wille's avatar
    Jan Wille committed
    		% Customised: -----------------------------------------------------------
    
    		\vskip 4em
    
    Jan Wille's avatar
    Jan Wille committed
    		{\if\@author\@empty\else\usekomafont{author}{\parbox{\dimexpr\linewidth}{\centering\@author}}\fi}%
    		% end Customised: --------------------------------------------------------
    
    		\vskip 1em%
    		{\usekomafont{date}{\@date \par}}%
    		\vskip \z@ \@plus 1em
    
    Jan Wille's avatar
    Jan Wille committed
    		%{\usekomafont{publishers}{\@publishers \par}}%
    
    		\ifx\@dedication\@empty \else
    		\vskip 2em
    		{\usekomafont{dedication}{\@dedication \par}}%
    		\fi
    	\end{center}%
    	\par
    	\vskip 2em
    
    Jan Wille's avatar
    Jan Wille committed
    }%