summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/iodhbwm
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-12-20 23:38:12 +0000
committerKarl Berry <karl@freefriends.org>2018-12-20 23:38:12 +0000
commitc2a784141573aa4fca549b380a8f07c682ac7b2e (patch)
tree1217e1d58e37d3fa83ec2003b9f13dd5ebdcda0f /Master/texmf-dist/tex/latex/iodhbwm
parent0d829fbbe1e39d04cd4ceef43f58b0a52f4d6e03 (diff)
iodhbwm (20dec18)
git-svn-id: svn://tug.org/texlive/trunk@49463 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/iodhbwm')
-rw-r--r--Master/texmf-dist/tex/latex/iodhbwm/dhbw-declaration.def18
-rw-r--r--Master/texmf-dist/tex/latex/iodhbwm/dhbw-logo.pngbin0 -> 33897 bytes
-rw-r--r--Master/texmf-dist/tex/latex/iodhbwm/dhbw-titlepage-ba.def57
-rw-r--r--Master/texmf-dist/tex/latex/iodhbwm/dhbw-titlepage-pa.def59
-rw-r--r--Master/texmf-dist/tex/latex/iodhbwm/dhbw-titlepage-sa.def46
-rw-r--r--Master/texmf-dist/tex/latex/iodhbwm/dhbw-titlepage.def74
-rw-r--r--Master/texmf-dist/tex/latex/iodhbwm/iodhbwm-templates.sty432
-rw-r--r--Master/texmf-dist/tex/latex/iodhbwm/iodhbwm.cls477
8 files changed, 1163 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/iodhbwm/dhbw-declaration.def b/Master/texmf-dist/tex/latex/iodhbwm/dhbw-declaration.def
new file mode 100644
index 00000000000..b73b7dd22f0
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/iodhbwm/dhbw-declaration.def
@@ -0,0 +1,18 @@
+\ifcsdef{chapter}%
+{\chapter*{Ehrenwörtliche Erklärung}}%
+{\section*{Ehrenwörtliche Erklärung}}
+
+\thispagestyle{empty}
+
+\vspace{5cm}
+Gemäß \S 5 (3) der Studien- und Prüfungsordnung DHBW Technik vom 22. September 2011.\\
+Ich habe die vorliegende Arbeit selbstständig verfasst und keine anderen als die angegebenen Quellen und Hilfsmittel verwendet.
+
+\vfill
+
+\begin{tabular}{l}
+ \hline
+ \getLocation, den \getDate
+\end{tabular}
+
+\clearpage \ No newline at end of file
diff --git a/Master/texmf-dist/tex/latex/iodhbwm/dhbw-logo.png b/Master/texmf-dist/tex/latex/iodhbwm/dhbw-logo.png
new file mode 100644
index 00000000000..bdc004e5345
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/iodhbwm/dhbw-logo.png
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/iodhbwm/dhbw-titlepage-ba.def b/Master/texmf-dist/tex/latex/iodhbwm/dhbw-titlepage-ba.def
new file mode 100644
index 00000000000..2af4304810e
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/iodhbwm/dhbw-titlepage-ba.def
@@ -0,0 +1,57 @@
+\begin{titlepage}
+ \centering
+ \ifcsempty{iodhbwm@institute@logo}{%
+ \includegraphics[height=1.7cm]{dhbw-logo}
+ }{%
+ \begin{minipage}[c]{.25\textwidth}
+ \includegraphics[width=\linewidth,keepaspectratio]{dhbw-logo}
+ \end{minipage}
+ \hfill
+ \begin{minipage}[c]{.25\textwidth}
+ \centering
+ \includegraphics[width=\linewidth,keepaspectratio]{\getInstituteLogo}
+ \end{minipage}
+ }
+
+ \bigskip
+
+ \rule{\textwidth}{.5mm}\bigskip
+
+ {\bfseries \getThesisTitle}\smallskip
+
+ \rule{\textwidth}{.5mm}\bigskip
+
+ \textsc{\Large Bachelorarbeit}
+
+ \bigskip
+ für die Prüfung zum
+
+ \textsc{\large \getBachelorDegree}
+
+ \bigskip
+ des Studiengangs \getCourseName\par
+ der Dualen Hochschule Baden-Württemberg Mannheim
+
+ \vfill
+
+ von\par
+ {\bfseries\large \getAuthor}\bigskip
+
+ Abgabe am \getSubmissionDate
+
+ \vfill
+
+ \small{%
+ \begin{tabularx}{\textwidth}{@{}lX@{}}
+ \toprule
+ Bearbeitungszeitraum: & \getProcessingPeriod\\
+ Matrikelnummer, Kurs: & \getStudentId, \getCourseId\\
+ \ifcsempty{iodhbwm@institute@section}{}{Abteilung: & \getInstituteSection\\}%
+ Ausbildungsfirma: & \getInstitute\\
+ \ifbool{iodhbwm@if@print@location}{Ort: & \getLocation\\}{}%
+ Betreuer der Ausbildungsfirma: & \getSupervisor\\
+ Gutachter der Dualen Hochschule: & \getReviewer\\
+ \end{tabularx}
+ }
+ \cleardoublepage
+\end{titlepage} \ No newline at end of file
diff --git a/Master/texmf-dist/tex/latex/iodhbwm/dhbw-titlepage-pa.def b/Master/texmf-dist/tex/latex/iodhbwm/dhbw-titlepage-pa.def
new file mode 100644
index 00000000000..d37eeeffe77
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/iodhbwm/dhbw-titlepage-pa.def
@@ -0,0 +1,59 @@
+\begin{titlepage}
+ \centering
+ \ifcsempty{iodhbwm@institute@logo}{%
+ \includegraphics[height=1.5cm]{dhbw-logo}
+ }{%
+ \begin{minipage}[c]{.25\textwidth}
+ \includegraphics[width=\linewidth,keepaspectratio]{dhbw-logo}
+ \end{minipage}
+ \hfill
+ \begin{minipage}[c]{.25\textwidth}
+ \raggedleft
+ \includegraphics[width=\linewidth,keepaspectratio]{\getInstituteLogo}
+ \end{minipage}
+ }
+
+ \bigskip
+
+ \Large\textsc{Projektarbeit}
+
+ \normalsize
+ des Studiengangs \getCourseName\par
+ der Dualen Hochschule Baden-Württemberg Mannheim
+
+ \rule{\textwidth}{.5mm}\bigskip
+
+ \textsc{\large Thema \ifcsempty{iodhbwm@thesis@second@title}{}{A}}
+
+ {\bfseries \getThesisTitle}\bigskip
+
+ \ifcsempty{iodhbwm@thesis@second@title}{}{%
+ \textsc{\large Thema B}\par
+ %\tikz{\node (1) [draw, rounded rectangle] {Kolloquium};}
+ {\bfseries \getThesisSecondTitle}
+ }{}
+
+ \rule{\textwidth}{.5mm}
+
+ \vfill
+
+ \par
+ {\bfseries\large \getAuthor}\par
+ \getDate
+
+ \vfill
+
+ \small{%
+ \begin{tabularx}{\textwidth}{@{}lX@{}}
+ \toprule
+ Bearbeitungszeitraum: & \getProcessingPeriod\\
+ Matrikelnummer, Kurs: & \getStudentId, \getCourseId\\
+ \ifcsempty{iodhbwm@institute@section}{}{Abteilung: & \getInstituteSection\\}%
+ Ausbildungsfirma: & \getInstitute\\
+ \ifbool{iodhbwm@if@print@location}{Ort: & \getLocation\\}{}%
+ Betreuer: & \getSupervisor\\
+ Unterschrift Betreuer & \rule[-.5cm]{.5\columnwidth}{.5pt}
+ \end{tabularx}
+ }
+ \cleardoublepage
+\end{titlepage} \ No newline at end of file
diff --git a/Master/texmf-dist/tex/latex/iodhbwm/dhbw-titlepage-sa.def b/Master/texmf-dist/tex/latex/iodhbwm/dhbw-titlepage-sa.def
new file mode 100644
index 00000000000..275ad523bb1
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/iodhbwm/dhbw-titlepage-sa.def
@@ -0,0 +1,46 @@
+\begin{titlepage}
+ \centering
+ \includegraphics[height=1.7cm]{dhbw-logo}
+
+ \Large\textsc{Studienarbeit}
+
+ \normalsize
+ des Studiengangs \getCourseName\par
+ der Dualen Hochschule Baden-Württemberg Mannheim
+
+ \rule{\textwidth}{.5mm}\bigskip
+
+ \textsc{\large Thema \ifcsempty{iodhbwm@thesis@second@title}{}{A}}
+
+ {\bfseries \getThesisTitle}\bigskip
+
+ \ifcsempty{iodhbwm@thesis@second@title}{}{%
+ \textsc{\large Thema B}\par
+ %\tikz{\node (1) [draw, rounded rectangle] {Kolloquium};}
+ {\bfseries \getThesisSecondTitle}
+ }{}
+
+ \rule{\textwidth}{.5mm}
+
+ \vfill
+
+ von\par
+ {\bfseries\large \getAuthor}\par
+ \getDate
+
+ \vfill
+
+ \small{%
+ \begin{tabularx}{\textwidth}{@{}lX@{}}
+ \toprule
+ Bearbeitungszeitraum: & \getProcessingPeriod\\
+ Matrikelnummer, Kurs: & \getStudentId, \getCourseId\\
+% Abteilung: & \getInstituteSection\\
+ Ausbildungsfirma: & \getInstitute\\
+ \ifbool{iodhbwm@if@print@location}{Ort: & \getLocation\\}{}%
+ Betreuer: & \getSupervisor\\
+% Unterschrift Betreuer & \rule[-.5cm]{.5\columnwidth}{.5pt}
+ \end{tabularx}
+ }
+ \cleardoublepage
+\end{titlepage} \ No newline at end of file
diff --git a/Master/texmf-dist/tex/latex/iodhbwm/dhbw-titlepage.def b/Master/texmf-dist/tex/latex/iodhbwm/dhbw-titlepage.def
new file mode 100644
index 00000000000..8b1d78be5a2
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/iodhbwm/dhbw-titlepage.def
@@ -0,0 +1,74 @@
+\begin{titlepage}
+ \begin{minipage}[c]{.30\textwidth}
+ \includegraphics[height=1.7cm]{dhbw-logo}
+ \end{minipage}
+ \hfill
+ \begin{minipage}[c]{.30\textwidth}
+ \centering
+ \includegraphics[height=1.7cm]{example-image}
+ \end{minipage}
+ \hfill
+ \begin{minipage}[c]{.30\textwidth}
+ \raggedleft
+ \includegraphics[height=1.7cm]{example-image}
+ \end{minipage}
+
+ \begin{center}
+ \Large\textsc{Arbeit}
+
+ \normalsize
+ des Studiengangs Informationstechnik\par
+ der Dualen Hochschule Baden-Württemberg Mannheim
+ \end{center}
+
+ \rule{\textwidth}{.5mm}\bigskip
+ % \begin{minipage}[t]{.45\textwidth}
+ % \centering\textsc{Thema A}
+ %
+ % \bfseries\large \dots
+ % \hfill
+ % \begin{minipage}[t]{.45\textwidth}
+ % \centering\textsc{Thema B}
+ %
+ % \tikz{\node (1) [draw, rounded rectangle] {Kolloquium};}\par
+ %
+ % \bfseries\large \dots
+ % \end{minipage}
+ % \\[1em]
+
+ \centering\textsc{\large Thema \ifcsempty{iodhbwm@thesis@second@title}{}{A}}
+
+ {\bfseries \getThesisTitle}\bigskip
+
+ \ifcsempty{iodhbwm@thesis@second@title}{}{%
+ \textsc{\large Thema B}\par
+ %\tikz{\node (1) [draw, rounded rectangle] {Kolloquium};}
+ {\bfseries \getThesisSecondTitle}
+ }{}
+
+ \rule{\textwidth}{.5mm}
+
+ \vfill
+
+ \begin{center}
+ von\par
+ \centering{\bfseries\large \getAuthor}\par
+ \today
+ \end{center}
+
+ \vfill
+
+ \small{%
+ \begin{tabularx}{\textwidth}{@{}lX@{}}
+ \toprule
+ Bearbeitungszeitraum: & \getProcessingPeriod\\
+ Matrikelnummer, Kurs: & \getStudentId\\
+ Abteilung: & \getInstituteSection\\
+ Ausbildungsfirma: & \getInstitute\\
+ Standort: & \getLocation\\
+ Betreuer: & \getSupervisor\\
+ Unterschrift Betreuer & \rule[-.5cm]{.5\columnwidth}{.5pt}
+ \end{tabularx}
+ }
+ \cleardoublepage
+\end{titlepage} \ No newline at end of file
diff --git a/Master/texmf-dist/tex/latex/iodhbwm/iodhbwm-templates.sty b/Master/texmf-dist/tex/latex/iodhbwm/iodhbwm-templates.sty
new file mode 100644
index 00000000000..679f4e70bb1
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/iodhbwm/iodhbwm-templates.sty
@@ -0,0 +1,432 @@
+% ----------------------------------------------------------
+% iodhbwm-templates package
+%
+% inofficial package for DHBW Mannheim to simplify writing
+% theses with the given requirements
+% ----------------------------------------------------------
+% Felix Faltin
+% E-Mail: ffaltin91@gmail.com
+% ----------------------------------------------------------
+% Copyright 2017 Felix Faltin
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status `maintained'.
+%
+% The Current Maintainer of this work is Felix Faltin.
+%
+% ----------------------------------------------------------
+
+\newcommand*{\iodhbwm@pkg@version}{v1.0}
+\newcommand*{\iodhbwm@pkg@date}{2018-12-20}
+\newcommand*{\iodhbwm@pkg@info}{Inoffical DHBW Mannheim thesis package}
+\newcommand*{\iodhbwm@pkg@name}{iodhbwm-templates}
+
+\ProvidesPackage{\iodhbwm@pkg@name}[%
+\iodhbwm@pkg@date\space
+\iodhbwm@pkg@version\space
+\iodhbwm@pkg@info]
+\RequirePackage{etoolbox, pgfopts}
+
+%---------------------------------------------------
+% KOMA-Script settings
+%---------------------------------------------------
+\@ifundefined{KOMAClassName}{%
+ \PackageWarningNoLine{iodhbwm}{This package is designed to work with KOMA-Script. Please use either `scrartcl`, `scrreprt` or `scrbook`}
+}{}
+\RequirePackage[figure,table]{totalcount}
+\RequirePackage{xpatch}
+
+%\PassOptionsToPackage{table}{xcolor}
+%\RequirePackage{graphicx, tikz} % Required inside titlepage templates
+%\RequirePackage{tabularx, booktabs} % Required inside titlepage templates
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% %
+% OPTIONS AND FLAGS %
+% %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% ----------------------------------------------------------
+% Define booleans
+% ----------------------------------------------------------
+\newbool{iodhbwm@if@hasSecondTopic}
+\newbool{iodhbwm@if@customtitlepage}
+\newbool{iodhbwm@if@customdeclaration}
+\newbool{iodhbwm@if@print@titlepage}
+\newbool{iodhbwm@if@print@declaration}
+\newbool{iodhbwm@if@print@abstract}
+\newbool{iodhbwm@if@print@toc}
+\newbool{iodhbwm@if@print@lot}
+\newbool{iodhbwm@if@print@lof}
+\newbool{iodhbwm@if@print@location}
+
+% ----------------------------------------------------------
+% Define internal commands
+% ----------------------------------------------------------
+\newcommand*{\iodhbwm@file@prefix}{dhbw}
+\newcommand*{\iodhbwm@file@ending}{.def}
+\edef\iodhbwm@file@titlepage@default{\iodhbwm@file@prefix-titlepage\iodhbwm@file@ending}
+\edef\iodhbwm@file@titlepage@ba{\iodhbwm@file@prefix-titlepage-ba\iodhbwm@file@ending}
+\edef\iodhbwm@file@titlepage@sa{\iodhbwm@file@prefix-titlepage-sa\iodhbwm@file@ending}
+\edef\iodhbwm@file@titlepage@pa{\iodhbwm@file@prefix-titlepage-pa\iodhbwm@file@ending}
+\edef\iodhbwm@file@declaration@default{\iodhbwm@file@prefix-declaration\iodhbwm@file@ending}
+\edef\iodhbw@file@abstract@default{\iodhbwm@file@prefix-abstract.inc}
+
+\def\iodhbwm@bachelor@type@boe{Bachelor of Engineering}
+\def\iodhbwm@bachelor@type@bos{Bachelor of Science}
+\def\iodhbwm@bachelor@type@boa{Bachelor of Arts}
+
+%---------------------------------------------------
+% Defining package options
+%---------------------------------------------------
+\pgfkeys{
+ /dhbw/.cd,
+ titlepage/.store in = \@iodhbwm@file@titlepage,
+ titlepage/.default = \iodhbwm@file@titlepage@default,
+ titlepage = \iodhbwm@file@titlepage@default,
+ declaration/.store in = \@iodhbwm@file@declaration,
+ declaration/.default = \iodhbwm@file@declaration@default,
+ declaration = \iodhbwm@file@declaration@default,
+ abstract/.store in = \@iodhbwm@file@abstract,
+ abstract/.default = \iodhbw@file@abstract@default,
+ abstract = = \iodhbw@file@abstract@default,
+ bachelor degree type/.store in = \iodhbwm@bachelor@degree,
+ bachelor degree type/.default = \iodhbwm@bachelor@type@boe,
+ bachelor degree type = \iodhbwm@bachelor@type@boe,
+ bachelor degree/.is choice,
+ bachelor degree/BoE/.estyle = {/dhbw/bachelor degree type = \iodhbwm@bachelor@type@boe},
+ bachelor degree/BoS/.estyle = {/dhbw/bachelor degree type = \iodhbwm@bachelor@type@bos},
+ bachelor degree/BoA/.estyle = {/dhbw/bachelor degree type = \iodhbwm@bachelor@type@boa},
+ thesis type/.is choice,
+ thesis type/BA/.estyle = {/dhbw/titlepage = \iodhbwm@file@titlepage@ba},
+ thesis type/SA/.estyle = {/dhbw/titlepage = \iodhbwm@file@titlepage@sa},
+ thesis type/PA/.estyle = {/dhbw/titlepage = \iodhbwm@file@titlepage@pa},
+ thesis title/.store in = \iodhbwm@thesis@title,
+ thesis title = {},
+ thesis second title/.store in = \iodhbwm@thesis@second@title,
+ thesis second title = {},
+ author/.store in = \iodhbwm@author,
+ author = {},
+ date/.code = {%
+ \def\iodhbwm@date{#1}%
+ \def\iodhbwm@date@submission{#1}%
+ },
+ date = \today,
+ submission date/.store in = \iodhbwm@date@submission,
+ location/.store in = \iodhbwm@location,
+ location = {},
+ institute/.store in = \iodhbwm@institute,
+ institute section/.store in = \iodhbwm@institute@section,
+ institute section = {},
+ institute logo/.store in = \iodhbwm@institute@logo,
+ institute logo = {},
+ student id/.store in = \iodhbwm@student@id,
+ student id = {},
+ course/name/.store in = \iodhbwm@course@name,
+ course/name = {Informationstechnik},
+ course/id/.store in = \iodhbwm@course@id,
+ course/id = {},
+ supervisor/.store in = \iodhbwm@supervisor,
+ supervisor = {},
+ processing period/.store in = \iodhbwm@processing@period,
+ processing period = {},
+ reviewer/.store in = \iodhbwm@reviewer,
+ reviewer = {},
+ titlepage/print location/.is if = iodhbwm@if@print@location,
+ intro/print titlepage/.is if = iodhbwm@if@print@titlepage,
+ intro/print abstract/.is if = iodhbwm@if@print@abstract,
+ intro/abstract file/.search also = {/dhbw/abstract},
+ intro/print declaration/.is if = iodhbwm@if@print@declaration,
+ intro/print toc/.is if = iodhbwm@if@print@toc,
+ intro/print lof/.is if = iodhbwm@if@print@lof,
+ intro/print lot/.is if = iodhbwm@if@print@lot,
+ intro/print all lists/.style = {%
+ /dhbw/intro/print toc = true,
+ /dhbw/intro/print lot = true,
+ /dhbw/intro/print lof = true
+ },
+ intro/print all/.style = {%
+ /dhbw/intro/print all lists = true,
+ /dhbw/intro/print titlepage = true,
+ /dhbw/intro/print declaration = true,
+ /dhbw/intro/print abstract = true
+ },
+ intro/append custom content/.store in = \iodhbwm@append@custom@content,
+ intro/append custom content = {}
+}
+
+\newrobustcmd\dhbwsetup[1]{\pgfqkeys{/dhbw}{#1}}
+
+\ProcessPgfOptions{/dhbw}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% %
+% DEFINE PACKAGE COMMANDS %
+% %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Some of these commands are required to print
+% predefined titlepages.
+% required
+%---------------------------------------------------
+% GETTER
+%---------------------------------------------------
+\newcommand{\getAuthor}{%
+ \ifdefempty{\iodhbwm@author}{%
+ \PackageError{\iodhbwm@pkg@name}{%
+ Option author required!\MessageBreak
+ Please use\MessageBreak\protect\dhbwsetup{\MessageBreak
+ \space\space author = {Your name}\MessageBreak
+ }}{See documentation for more information}%
+ }{\iodhbwm@author}%
+}
+% required
+\newcommand{\getThesisTitle}{%
+ \ifdefempty{\iodhbwm@thesis@title}{%
+ \PackageError{\iodhbwm@pkg@name}{%
+ Option thesis title required!\MessageBreak
+ Please use\MessageBreak\protect\dhbwsetup{\MessageBreak
+ \space\space thesis title = {Your title}\MessageBreak
+ }}{See documentation for more information}%
+ }{\iodhbwm@thesis@title}%
+}
+% optional
+\newcommand{\getThesisSecondTitle}{\iodhbwm@thesis@second@title}
+
+% required
+\newcommand{\getLocation}{%
+ \ifdefempty{\iodhbwm@location}{%
+ \PackageError{\iodhbwm@pkg@name}{%
+ Option location required!\MessageBreak
+ Please use\MessageBreak\protect\dhbwsetup{\MessageBreak
+ \space\space location = {Your location}\MessageBreak
+ }}{See documentation for more information}%
+ }{\iodhbwm@location}%
+}
+% required
+\newcommand{\getCourseName}{%
+ \ifdefempty{\iodhbwm@course@name}{%
+ \PackageError{\iodhbwm@pkg@name}{%
+ Option course/name required!\MessageBreak
+ Please use\MessageBreak\protect\dhbwsetup{\MessageBreak
+ \space\space course/name = {Your course name}\MessageBreak
+ }}{See documentation for more information}%
+ }{\iodhbwm@course@name}%
+}
+\newcommand{\getCourseId}{%
+ \ifdefempty{\iodhbwm@course@id}{%
+ \PackageError{\iodhbwm@pkg@name}{%
+ Option course required!\MessageBreak
+ Please use\MessageBreak\protect\dhbwsetup{\MessageBreak
+ \space\space course/id = {Your course id}\MessageBreak
+ }}{See documentation for more information}%
+ }{\iodhbwm@course@id}%
+}
+% required
+\newcommand{\getStudentId}{%
+ \ifdefempty{\iodhbwm@student@id}{%
+ \PackageError{\iodhbwm@pkg@name}{%
+ Option student id required!\MessageBreak
+ Please use\MessageBreak\protect\dhbwsetup{\MessageBreak
+ \space\space student id = {Your student id}\MessageBreak
+ }}{See documentation for more information}%
+ }{\iodhbwm@student@id}%
+}
+% optional
+\newcommand{\getInstituteLogo}{\iodhbwm@institute@logo}
+\newcommand{\getInstitute}{%
+ \ifdefempty{\iodhbwm@institute}{%
+ \PackageError{\iodhbwm@pkg@name}{%
+ Option institute required!\MessageBreak
+ Please use\MessageBreak\protect\dhbwsetup{\MessageBreak
+ \space\space institute = {Your institute}\MessageBreak
+ }}{See documentation for more information}%
+ }{\iodhbwm@institute}%
+}
+\newcommand{\getInstituteSection}{%
+ \ifdefempty{\iodhbwm@institute@section}{%
+ \PackageError{\iodhbwm@pkg@name}{%
+ Option institute section required!\MessageBreak
+ Please use\MessageBreak\protect\dhbwsetup{\MessageBreak
+ \space\space institute section = {Your institute section}\MessageBreak
+ }}{See documentation for more information}%
+ }{\iodhbwm@institute@section}%
+}
+\newcommand{\getSupervisor}{%
+ \ifdefempty{\iodhbwm@supervisor}{%
+ \PackageError{\iodhbwm@pkg@name}{%
+ Option supervisor required!\MessageBreak
+ Please use\MessageBreak\protect\dhbwsetup{\MessageBreak
+ \space\space supervisor = {Your supervisor}\MessageBreak
+ }}{See documentation for more information}%
+ }{\iodhbwm@supervisor}%
+}
+\newcommand{\getProcessingPeriod}{%
+ \ifdefempty{\iodhbwm@processing@period}{%
+ \PackageError{\iodhbwm@pkg@name}{%
+ Option supervisor required!\MessageBreak
+ Please use\MessageBreak\protect\dhbwsetup{\MessageBreak
+ \space\space processing period = {Your processing period}\MessageBreak
+ }}{See documentation for more information}%
+ }{\iodhbwm@processing@period}%
+}
+\newcommand{\getDate}{\iodhbwm@date}
+\newcommand{\getSubmissionDate}{\iodhbwm@date@submission}
+\newcommand{\getReviewer}{%
+ \ifdefempty{\iodhbwm@reviewer}{%
+ \PackageError{\iodhbwm@pkg@name}{%
+ Option reviewer required!\MessageBreak
+ Please use\MessageBreak\protect\dhbwsetup{\MessageBreak
+ \space\space reviewer = {Your reviewer}\MessageBreak
+ }}{See documentation for more information}%
+ }{\iodhbwm@reviewer}%
+}
+\newcommand{\getBachelorDegree}{%
+ \ifdefempty{\iodhbwm@bachelorDegree}{%
+ \PackageError{\iodhbwm@pkg@name}{%
+ Option bachelor degree required!\MessageBreak
+ Please use\MessageBreak\protect\dhbwsetup{\MessageBreak
+ \space\space bachelor degree = BoE | BoS | BoA\MessageBreak
+ }}{See documentation for more information}%
+ }{\iodhbwm@bachelor@degree}%
+}
+
+% ----------------------------------------------------------
+% Commands for structuring
+% ----------------------------------------------------------
+
+% Makro zum Einfügen einer Titelseite
+\newcommand{\dhbwtitlepage}{%
+ \InputIfFileExists{\@iodhbwm@file@titlepage}{}{%
+ \input{\pgfkeysvalueof{/dhbw/titlepage/.@def}}%
+ \PackageWarning{\iodhbwm@pkg@name}{The passed file `\@iodhbwm@file@titlepage` was not found.\MessageBreak Used default titlepage instead.}
+ }%
+}
+
+% Makro zum Einfügen der Selbsterklärung
+\newcommand{\dhbwdeclaration}{%
+ \InputIfFileExists{\@iodhbwm@file@declaration}{}{%
+ \input{\pgfkeysvalueof{/dhbw/declaration/.@def}}%
+ \PackageWarning{\iodhbwm@pkg@name}{The passed declaration `\@iodhbwm@file@declaration` is unknown.\MessageBreak Used default declaration instead.}
+ }%
+}
+
+% Input abstract
+\newcommand{\dhbwabstract}{%
+ \InputIfFileExists{\@iodhbwm@file@abstract}{}{%
+ \PackageInfo{\iodhbwm@pkg@name}{The passed abstract `\@iodhbwm@file@abstract` could not be found.}
+ }%
+}
+
+% Remove page number in toc from lof/lot/...loX
+%https://tex.stackexchange.com/questions/440188/remove-page-numbers-of-lof-lot-in-toc
+\RedeclareSectionCommand[
+ tocpagenumberformat=\tocchapterpagenumberformat
+]{chapter}
+\newbool{iodhbwm@if@toc@unnumbered}
+\newcommand*{\tocchapterpagenumberformat}[1]{%
+ {\ifbool{iodhbwm@if@toc@unnumbered}{}{\usekomafont{chapterentrypagenumber}#1}}%
+}
+
+% Switch pagestyle
+% Deactivate page numbers in ToC
+\newcommand{\dhbwfrontmatter}{%
+ \pagestyle{empty}
+ \renewcommand*{\chapterpagestyle}{empty}
+ \hypersetup{pageanchor=false}
+ \addtocontents{toc}{\booltrue{iodhbwm@if@toc@unnumbered}}
+}
+
+% Switch pagestyle
+% Start page numbering
+% Set linespacing
+% Activate page numbers in ToC
+\newcommand{\dhbwmainmatter}{%
+ \cleardoubleoddpage
+ \pagestyle{scrheadings}
+ \renewcommand*{\chapterpagestyle}{plain}
+ \hypersetup{pageanchor=true}
+ \pagenumbering{arabic}
+ \onehalfspacing
+ \addtocontents{toc}{\boolfalse{iodhbwm@if@toc@unnumbered}}
+}
+
+% Print default structure
+\newcommand{\dhbwprintintro}{%
+ \dhbwfrontmatter
+
+ \ifbool{iodhbwm@if@print@titlepage}{\dhbwtitlepage}{}
+ \ifbool{iodhbwm@if@print@declaration}{\dhbwdeclaration}{}
+ \ifbool{iodhbwm@if@print@abstract}{\dhbwabstract}{}
+ \ifbool{iodhbwm@if@print@toc}{\tableofcontents}{}
+ % Print lof only if at least one figure is available
+ \ifbool{iodhbwm@if@print@lof}{%
+ \iftotalfigures
+ \listoffigures
+ \fi
+ }{}
+ % Print lot only if at least one table is available
+ \ifbool{iodhbwm@if@print@lot}{%
+ \iftotaltables
+ \listoftables
+ \fi
+ }{}
+ \ifcsempty{iodhbwm@custom@list}{}{\iodhbwm@append@custom@content}
+%
+ \dhbwmainmatter
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% %
+% APPENDIX %
+% %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\pretocmd\appendix{%
+ \booltrue{iodhbwm@cls@if@appendix}%
+ \singlespacing%
+ \ifbool{iodhbwm@cls@if@bib}{\iodhbwm@printbibliography}{}
+ % Add all entries from the appendix to the \listofappendices
+ \renewcommand*{\ext@toc}{atoc}%
+ \scr@ifundefinedorrelax{hypersetup}{}{\hypersetup{bookmarkstype=atoc}}%
+}{%
+ \typeout{iodhbwm patched \noexpand\appendix successfully}
+}{}
+
+% Prepend "Anhang" to chapter name
+\KOMAoptions{appendixprefix}
+
+\DeclareNewTOC[%
+ listname = {\appendixname},
+ type = appendix,
+ types = appendices
+]{atoc}
+
+% Prepend "Anhang" inside ToC
+%https://texwelt.de/wissen/fragen/2123/wie-bekomme-ich-anhang-vor-den-buchstaben-im-inhaltsverzeichnis
+\providecommand*\texorpdfstring[2]{#1}% falls hyperref nicht geladen wird
+\providecommand*\appendixmore{}% falls appendixprefix=false
+\newcommand*{\SavedOriginalchaptertocentry}{}
+\appto\appendixmore{%
+ \let\SavedOriginaladdchaptertocentry\addchaptertocentry
+ \renewcommand*{\addchaptertocentry}[2]{%
+ \ifstr{#1}{}{% Eintrag ohne Nummer
+ \SavedOriginalchaptertocentry{#1}{#2}%
+ }{% Eintrag mit Nummer
+ \SavedOriginaladdchaptertocentry{}{%
+ \texorpdfstring{
+ \string\expandafter\string\MakeUppercase\string\appendixname
+ ~#1:\string\enskip{}#2
+ }{#2}%
+ }%
+ }%
+ }%
+}
+
+\endinput \ No newline at end of file
diff --git a/Master/texmf-dist/tex/latex/iodhbwm/iodhbwm.cls b/Master/texmf-dist/tex/latex/iodhbwm/iodhbwm.cls
new file mode 100644
index 00000000000..6879b880fce
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/iodhbwm/iodhbwm.cls
@@ -0,0 +1,477 @@
+% ----------------------------------------------------------
+% iodhbwm class
+%
+% inofficial package for DHBW Mannheim to simplify writing
+% theses with the given requirements
+% ----------------------------------------------------------
+% Felix Faltin
+% E-Mail: ffaltin91@gmail.com
+% ----------------------------------------------------------
+% Copyright 2017-2018 Felix Faltin
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status `maintained'.
+%
+% The Current Maintainer of this work is Felix Faltin.
+%
+% ----------------------------------------------------------
+
+\newcommand*{\iodhbwm@cls@version}{v1.0}
+\newcommand*{\iodhbwm@cls@date}{2018-12-20}
+\newcommand*{\iodhbwm@cls@info}{Inoffical DHBW Mannheim thesis class}
+
+\ProvidesClass{iodhbwm}[%
+\iodhbwm@cls@date\space
+\iodhbwm@cls@version\space
+\iodhbwm@cls@info]
+
+\RequirePackage{etoolbox, pgfopts, scrlfile, xstring}
+
+\providecommand*{\iodhbwm@cls@baseclass}{scrreprt}
+\providecommand*{\iodhbwm@cls@baseclass@options}{}
+\let\iodhbwm@languages\@empty
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% %
+% OPTIONS AND FLAGS %
+% %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% ----------------------------------------------------------
+% Define booleans
+% ----------------------------------------------------------
+\newbool{iodhbwm@cls@if@preamble}\booltrue{iodhbwm@cls@if@preamble}
+\newbool{iodhbwm@cls@if@templates}
+\newbool{iodhbwm@cls@if@bib}
+\newbool{iodhbwm@cls@if@bib@print}\booltrue{iodhbwm@cls@if@bib@print}
+\newbool{iodhbwm@cls@if@tocstotoc}
+\newbool{iodhbwm@cls@if@isdebug}
+\newbool{iodhbwm@cls@if@print@minus}
+\newbool{iodhbwm@cls@if@print}
+\newbool{iodhbwm@cls@if@auto@intro@custom}
+\newbool{iodhbwm@cls@if@auto@intro@default}
+\newbool{iodhbwm@cls@if@auto@intro@all}
+\newbool{iodhbwm@cls@if@appendix}
+
+% ----------------------------------------------------------
+% Define available options
+% ----------------------------------------------------------
+\pgfkeys{
+ iodhbwm/.cd,
+ language/.code = \appto{\iodhbwm@languages}{#1,},
+ mainlanguage/.code = {%
+ \appto{\iodhbwm@languages}{main=#1,}%
+ \def\iodhbwm@main@language{#1}%
+ },
+ load-preamble/.is if = iodhbwm@cls@if@preamble,
+ load-dhbw-templates/.is if = iodhbwm@cls@if@templates,
+ add-tocs-to-toc/.is if = iodhbwm@cls@if@tocstotoc,
+ add-bibliography/.is if = iodhbwm@cls@if@bib,
+ add-bibliography-/.code = {%
+ \booltrue{iodhbwm@cls@if@bib}%
+ \boolfalse{iodhbwm@cls@if@bib@print}%
+ },
+ bib-file/.store in = \iodhbwm@bib@file,
+ bib-file = {},
+ biblatex/bibstyle/.store in = \iodhbwm@bib@bibstyle@opt,
+ biblatex/citestyle/.store in = \iodhbwm@bib@citestyle@opt,
+ biblatex/style/.style = {biblatex/bibstyle=#1,biblatex/citestyle=#1},
+ biblatex/style = numeric-comp,
+ debug/.is if = iodhbwm@cls@if@isdebug,
+ print-/.is if = iodhbwm@cls@if@print@minus,
+ print/.code = {%
+ \booltrue{iodhbwm@cls@if@print}%
+ \booltrue{iodhbwm@cls@if@print@minus}%
+ },
+ auto-intro-pages/.is choice,
+ auto-intro-page/none/.code = {},
+ auto-intro-pages/custom/.is if = iodhbwm@cls@if@auto@intro@custom,
+ auto-intro-pages/default/.is if = iodhbwm@cls@if@auto@intro@default,
+ auto-intro-pages/all/.is if = iodhbwm@cls@if@auto@intro@all,
+ auto-intro-pages/.default = default,
+ .unknown/.code = \edef\iodhbwm@cls@baseclass@options{\pgfkeyscurrentname}
+}
+
+\ProcessPgfOptions{/iodhbwm}
+
+% ----------------------------------------------------------
+% Default class option
+% ----------------------------------------------------------
+
+% If unknown options are passed prepend a comma (,)
+% before prepend again and always the predefind options.
+\ifcsempty{iodhbwm@cls@baseclass@options}{}%
+{%
+ \preto{\iodhbwm@cls@baseclass@options}{,}%
+}
+\preto{\iodhbwm@cls@baseclass@options}{%
+ fontsize=12pt,%
+ parskip=half-%
+}%
+
+\LoadClass[\iodhbwm@cls@baseclass@options]{\iodhbwm@cls@baseclass}
+
+% ----------------------------------------------------------
+% Set KOMA options
+% ----------------------------------------------------------
+\ifbool{iodhbwm@cls@if@tocstotoc}{%
+ \KOMAoptions{%
+ listof = totoc
+ }%
+}{}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% %
+% LANGUAGE %
+% %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% ----------------------------------------------------------
+% Defining language
+% ----------------------------------------------------------
+\ifcsempty{iodhbwm@languages}{}{%
+ % Delete trailing comma
+ \IfEndWith{\iodhbwm@languages}{,}{%
+ \StrGobbleRight{\iodhbwm@languages}{1}[\iodhbwm@languages@list]
+ }{\let\iodhbwm@languages@list\iodhbwm@languages}
+
+ % If no main language was set use last language
+ % as main language
+ \ifundef{\iodhbwm@main@language}{%
+ \StrCount{\iodhbwm@languages@list}{,}[\numofelem]
+ \ifnum\numofelem>0\relax
+ \StrBehind[\numofelem]{\iodhbwm@languages@list}{,}[\iodhbwm@main@language]%
+ \else
+ \let\iodhbwm@main@language\iodhbwm@languages@list%
+ \fi
+ }{}
+ \RequirePackage[\iodhbwm@languages@list]{babel}
+ \RequirePackage[autostyle]{csquotes}
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% %
+% PACKAGES %
+% %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% ----------------------------------------------------------
+% Load default packages
+% ----------------------------------------------------------
+\ifbool{iodhbwm@cls@if@preamble}{%
+ \RequirePackage{lmodern}
+ \RequirePackage{microtype}
+ \RequirePackage{scrhack}
+ \RequirePackage{setspace}
+ \PassOptionsToPackage{intlimits}{amsmath}
+ \RequirePackage{mathtools}
+ \PassOptionsToPackage{
+ table,
+ dvipsnames
+ }{xcolor}
+ \RequirePackage{graphicx}
+ \RequirePackage[most]{tcolorbox}
+ \RequirePackage{tabularx}
+ \RequirePackage{booktabs}
+% \RequirePackage{multirow}
+}{}
+
+\ifbool{iodhbwm@cls@if@templates}{%
+ \RequirePackage{iodhbwm-templates}
+}{}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% %
+% DESIGN %
+% %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% ----------------------------------------------------------
+% Defining custom colors
+% ----------------------------------------------------------
+\@ifpackageloaded{xcolor}{}{\RequirePackage{xcolor}}
+
+%https://tex.stackexchange.com/questions/419842/compile-error-illegal-unit-only-with-texlive-2015
+\patchcmd{\@hex@@Hex}{f\else}{F\else}{\typeout{Patching xcolor for TL15}}{}
+\definecolor{DHBW-red}{HTML}{e2001a}
+\definecolor{DHBW-blue}{HTML}{026f93}
+\definecolor{DHBW-darkblue}{HTML}{23527c}
+\definecolor{DHBW-light}{HTML}{ffffff}
+\definecolor{DHBW-font}{HTML}{5c6971}
+\definecolor{DHBW-dark-font}{HTML}{333333}
+
+% ----------------------------------------------------------
+% Page settings
+% ----------------------------------------------------------
+\@ifpackageloaded{geometry}{}{\RequirePackage{geometry}}
+\geometry{%
+ top = 3cm, % Seitenabstand oben
+ right = 2.5cm, % Seitenabstand recht
+ bottom = 3cm, % Seitenabstand unten
+ left = 2.5cm, % Seitenabstand links
+ bindingoffset = 1cm, % Bindekorrektur
+ includeheadfoot
+}
+
+% ----------------------------------------------------------
+% Header and Footer
+% ----------------------------------------------------------
+\@ifpackageloaded{scrlayer-scrpage}{}{%
+ \RequirePackage[%
+ headsepline,
+ footsepline,
+ plainfootsepline,
+ clines,
+ automark,
+ ]{scrlayer-scrpage}
+}%
+\automark[section]{chapter}
+\automark*{section}
+\clearpairofpagestyles % Leeren von Kopf- und Fußzeile
+%\ohead{\pagemark} % Kopfzeile außen: Seitenzahl
+\ihead{\headmark} % Kopfzeile innen: chapter und section Titel
+\cfoot[-~\pagemark~-]{-~\pagemark~-} % Fußzeile mitte: Seitenzahl
+
+% ----------------------------------------------------------
+% Numbers and units
+% ----------------------------------------------------------
+\ifbool{iodhbwm@cls@if@preamble}{%
+ \@ifpackageloaded{siunitx}{}{\RequirePackage{siunitx}}%
+ \sisetup{%
+ % mode = math, % text is printed using a math font
+ detect-all,
+ separate-uncertainty = true,
+ locale = DE,
+ per-mode = fraction,
+ range-phrase= -,
+ range-units=single
+ }%
+}{}%
+
+% ----------------------------------------------------------
+% Enable references and links
+% ----------------------------------------------------------
+\AfterPackage!{hyperref}{%
+ \ifdef{\iodhbwm@main@language}{%
+ \PassOptionsToPackage{\iodhbwm@main@language}{cleveref}
+ }{}
+ \RequirePackage[%
+ noabbrev,
+ nameinlink
+ ]{cleveref}
+}
+% Load hyperref always at the end of the preambel
+% To avoid a race condition with biblatex
+% hyperref have to be placed before biblatex
+% when \AtEndPreamble is used
+% https://tex.stackexchange.com/questions/417556/hyperref-doesnt-highlight-cites
+\AtEndPreamble{%
+ \ifdef{\iodhbwm@main@language}{%
+ \PassOptionsToPackage{\iodhbwm@main@language}{hyperref}
+ }{}
+ \RequirePackage{hyperref}
+ \hypersetup{
+ pdftitle = {\ifdef{\getThesisTitle}{\getThesisTitle}{undefined}},
+ pdfsubject = {\ifdef{\getThesisTitle}{\getThesisTitle}{undefined}},
+ pdfauthor = {\ifdef{\getAuthor}{\getAuthor}{undefined}},
+ pdfcreator = {pdf\LaTeX},
+ pdfproducer = {pdf\LaTeX},
+ pdftoolbar = true,
+ pdfmenubar = false,
+ bookmarksopen = false, % bookmarksopen ODER bookmarksopenlevel!
+ }%
+ \ifbool{iodhbwm@cls@if@print@minus}{%
+ \hypersetup{hidelinks}
+ }{%
+ \hypersetup{%
+ colorlinks,
+ allcolors=DHBW-red,
+ urlcolor=DHBW-blue%
+ }%
+ }%
+}
+
+% ----------------------------------------------------------
+% Format captions and listings
+% ----------------------------------------------------------
+
+\@ifpackageloaded{caption}{}{\RequirePackage{caption}}
+% All captions
+\captionsetup{%
+ format=hang,
+ % singlelinecheck=false,
+ font=small,
+ labelfont=bf
+}
+
+\ifbool{iodhbwm@cls@if@templates}{%
+ \@ifpackageloaded{listings}{}{\RequirePackage{listings}}
+ % Default settings, color depend on options
+ \lstset{
+ numbers=left,
+ showstringspaces=false,
+ tabsize=2,
+ breaklines=true,
+ xleftmargin=17pt,
+ framexleftmargin=17pt,
+ }
+
+ \DeclareCaptionFont{DHBWwhite}{\color{DHBW-light}}
+ \DeclareCaptionFont{print}{\color{black}}
+ \DeclareCaptionFormat{listing}{%
+ \colorbox{DHBW-red}{%
+ \parbox{\dimexpr\textwidth-2\fboxsep\relax}{#1#2#3}%
+ }%
+ }
+
+ \DeclareCaptionFormat{listingprint}{%
+ \colorbox{white}{%
+ \parbox{\dimexpr\textwidth-2\fboxsep\relax}{#1#2#3}%
+ }%
+ }
+
+ \captionsetup[lstlisting]{%
+ format=listing,
+ singlelinecheck=false,
+ margin=0pt
+ }%
+
+ \ifbool{iodhbwm@cls@if@print}{%
+ \captionsetup[lstlisting]{%
+ format=listingprint,
+ singlelinecheck=false,
+ margin=0pt,
+ font={print,sf},
+ }%
+
+ \lstset{
+ basicstyle=\footnotesize\ttfamily\color{DHBW-dark-font},
+ backgroundcolor=\color{DHBW-light},
+ rulecolor=\color{black},
+ commentstyle=\color{DHBW-font},
+ keywordstyle=\color{DHBW-dark-font},
+ numberstyle=\scriptsize\color{DHBW-font},
+ stringstyle=\color{DHBW-dark-font},
+ frame=tb,
+ captionpos=b,
+ aboveskip=\baselineskip
+ }%
+ }{%
+ \captionsetup[lstlisting]{%
+ format=listing,
+ singlelinecheck=false,
+ margin=0pt,
+ font={DHBWwhite,sf},
+ }%
+
+ \lstset{
+ basicstyle=\footnotesize\ttfamily\color{DHBW-dark-font},
+ backgroundcolor=\color{DHBW-light},
+ rulecolor=\color{DHBW-red},
+ commentstyle=\color{DHBW-font},
+ keywordstyle=\color{DHBW-darkblue},
+ numberstyle=\scriptsize\color{DHBW-font},
+ stringstyle=\color{purple},
+ frame=b,
+ captionpos=t,
+ }
+ }
+}{}
+
+% ----------------------------------------------------------
+% Auto import titlepage, tocs, ...
+% ----------------------------------------------------------
+\ifboolexpr{bool {iodhbwm@cls@if@templates} and (bool {iodhbwm@cls@if@auto@intro@custom} or bool {iodhbwm@cls@if@auto@intro@default} or bool {iodhbwm@cls@if@auto@intro@all})}{%
+ \ifbool{iodhbwm@cls@if@auto@intro@default}{%
+ \dhbwsetup{%
+ intro/print all,
+ intro/print abstract = false
+ }%
+ }{}
+ \ifbool{iodhbwm@cls@if@auto@intro@all}{%
+ \dhbwsetup{intro/print all}%
+ }{}
+ \AfterEndPreamble{%
+ \dhbwprintintro%
+ }%
+}{}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% %
+% BIBLIOGRAPHY %
+% %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\newcommand{\iodhbwm@printbibliography}{%
+ \ifboolexpr{bool {iodhbwm@cls@if@tocstotoc} and bool {iodhbwm@cls@if@bib@print}}{%
+ \printbibliography[heading=bibintoc]%
+ }{%
+ \ifbool{iodhbwm@cls@if@bib@print}{%
+ \printbibliography%
+ }{}%
+ }%
+}
+
+% Load biblatex if option add-bibliography is set
+% The bibliography is printed at the end of the document. If the option bib-file is set then
+% the class is searching for the given file. Otherwise it try to load dhbw-source.bib.
+% If no file is found a warning is thrown.
+\ifbool{iodhbwm@cls@if@bib}{%
+ \AtEndDocument{%
+ \singlespacing%
+
+ % Don't print the bibliography again.
+ % The appendix takes care about the printing
+ % The congiguration is still required
+ \ifbool{iodhbwm@cls@if@appendix}{}{%
+ \iodhbwm@printbibliography
+ }
+ }%
+ \ifbool{iodhbwm@cls@if@bib@print}{}{\PassOptionsToPackage{hyperref=false}{biblatex}}
+ \RequirePackage[%
+ backend = biber, % bibtex oder biber [default]
+ bibstyle = \iodhbwm@bib@bibstyle@opt,
+ citestyle = \iodhbwm@bib@citestyle@opt,
+ sorting = nty, % Sortierung (Name, Titel, Jahr)
+ natbib = true, % Kompatibilität mit Natbib-Bibliothek
+ block = space, % kleiner horizontaler Platz zwischen den Feldern
+ backrefstyle = three+, % fasst Seiten zusammen, z.B. S. 2f, 6ff, 7-10
+ date = short, % Datumsformat
+ bibwarn = true,
+ texencoding = auto, % auto-detect the input encoding
+ bibencoding = auto, % (auto (equal to tex), <encoding>)
+ isbn = false
+ ]{biblatex}%
+ \ifdefempty{\iodhbwm@bib@file}{%
+ \IfFileExists{dhbw-source.bib}{%
+ \pgfkeys{/iodhbwm/bib-file = dhbw-source.bib}%
+ }{%
+ \ClassWarning{iodhbwm}{Cannot find default dbhw-source.bib file.}%
+ }%
+ }{%
+ \IfFileExists{\iodhbwm@bib@file}{}{%
+ \ClassWarning{iodhbwm}{Couldn't find passed bib file \iodhbwm@bib@file}
+ }%
+ }%
+ \addbibresource{\iodhbwm@bib@file}%
+}{\AtEndDocument{}}%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% %
+% DEBUG %
+% %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\ifbool{iodhbwm@cls@if@isdebug}{%
+ \RequirePackage{blindtext, lipsum}
+}{}
+
+
+\endinput \ No newline at end of file