| 1 |
% --------------------------------------------------- |
| 2 |
% Date: 08.10.2018 |
| 3 |
% Version: v0.1 |
| 4 |
% Autor: Felix Faltin <ffaltin91[at]gmail.com> |
| 5 |
% Repository: https://github.com/faltfe/iodhbwm |
| 6 |
% --------------------------------------------------- |
| 7 |
% --- --- --- --- -- Class options -- --- --- --- --- |
| 8 |
% --------------------------------------------------- |
| 9 |
\documentclass[ |
| 10 |
load-dhbw-templates, % Allow \dhbw* commands |
| 11 |
auto-intro-pages = custom, % Takes care about titlepage, abstract, ToC, etc. |
| 12 |
add-tocs-to-toc, % Add LoF, LoT, etc. to ToC |
| 13 |
mainlanguage = ngerman, % Set main document language |
| 14 |
debug % Provide \lipsum, \blindtext |
| 15 |
]{iodhbwm} |
| 16 |
\usepackage[T1]{fontenc} |
| 17 |
|
| 18 |
\dhbwsetup{intro/print toc=true} |
| 19 |
|
| 20 |
% Change the part name depending on the selected language |
| 21 |
% You can also use \captionsenglish if use picked English. |
| 22 |
\addto\captionsngerman{\renewcommand{\partname}{Thema}} |
| 23 |
% Use a alphabetic counter instead of a numeric counter |
| 24 |
\renewcommand{\thepart}{\Alph{part}} |
| 25 |
% Change the part format to "Thema A" |
| 26 |
\renewcommand*{\partformat}{\partname~\thepart} |
| 27 |
% Define a new part style for the toc |
| 28 |
\newcommand\partentrynumberformat[1]{\partname\ #1} |
| 29 |
% Set up the new part style |
| 30 |
\RedeclareSectionCommand[ |
| 31 |
tocentrynumberformat=\partentrynumberformat, |
| 32 |
tocnumwidth=6em % Can be changed separate |
| 33 |
]{part} |
| 34 |
|
| 35 |
\begin{document} |
| 36 |
|
| 37 |
|
| 38 |
% --------------------------------------------------- |
| 39 |
% --- --- --- --- Begin actual content -- --- --- --- |
| 40 |
% --------------------------------------------------- |
| 41 |
\part{Grundlagenwissen} |
| 42 |
\Blinddocument |
| 43 |
|
| 44 |
\part{Hintergrundwissen} |
| 45 |
\Blinddocument |
| 46 |
|
| 47 |
\end{document} |