summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/iodhbwm/doc/examples/how-to-use-iodhbwm/iodhbwm-advanced-starter.tex
blob: 5788a6dc25576af22aa32cbefe0cd1a38ac53685 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
% ---------------------------------------------------
% Date:       15.05.2019
% Version:    v1.1.0
% Autor:      Felix Faltin <ffaltin91[at]gmail.com>
% Repository: https://github.com/faltfe/iodhbwm
% ---------------------------------------------------
% --- --- --- --- -- Class options -- --- --- --- ---
% ---------------------------------------------------
\documentclass[
    load-dhbw-templates,                % Allow \dhbw* commands
    add-bibliography,                   % Include bibliography (needs biber run)
    bib-file = biblatex-examples.bib,   % Set bibliography file
    add-tocs-to-toc,                    % Add LoF, LoT, etc. to ToC
    language     = english,             % Set english as second language (\selectlanguage{english})
    mainlanguage = ngerman,             % Set main document language
    debug                               % Provide \lipsum, \blindtext
]{iodhbwm}
\usepackage[T1]{fontenc}

% ---------------------------------------------------
% --- --- --- --- - Necessary setup - --- --- --- ---
% ---------------------------------------------------
\dhbwsetup{%
    author              = Max Mustermann,
    thesis type         = PA,
    thesis title        = Erweitertes Einführungsbeispiel,
    student id          = 12345,
    location            = Musterstadt,
    institute           = Musterwerke GmbH,
    institute logo      = dhbw-logo,    % The file dhbw-logo.pdf is provided by the class itself.
    course/id           = Txxxx,
    supervisor          = Felix Faltin,
    processing period   = {01.01.17 -- 31.01.17}
}

\begin{document}

    % ---------------------------------------------------
    % --- --- --- Print formatted titlepage,  --- --- ---
    % --- --- --- abstract, ToC, LoF and LoT  --- --- ---
    % ---------------------------------------------------
    % Have a look into the recommended example! There will
    % be shown a way how to simplify all lists.
    % ---------------------------------------------------
    \dhbwfrontmatter    % Disable page numbering and deactivate ToC, LoF, LoT numbers
    \dhbwtitlepage      % Print titlepage

    \dhbwdeclaration    % Print declaration
    \dhbwabstract       % Print abstract (if there exists one)

    \tableofcontents    % Print ToC
    \listoffigures      % Print LoF
    \listoftables       % Print LoT
    \dhbwmainmatter     % Enable page numbering and active ToC numbers again

    % ---------------------------------------------------
    % --- --- --- --- Begin actual content -- --- --- ---
    % ---------------------------------------------------
    \chapter{Test Kapitel}\label{chap:test-chap}
        \section{Test Section}\label{sec:test-sec}
            \blindtext

            Verweis auf \Cref{chap:test-chap} und auf mich selbst \Cref{sec:test-sec}~\cite{glashow}.

            \lipsum

    % ---------------------------------------------------
    % --- --- --- --- End actual content --- --- --- ---
    % ---------------------------------------------------
    % There is no need to include the bibliography
    % manually. The class takes care about the correct
    % position. You only have to run
    %   pdfLaTeX -> biber -> 2x pdfLaTeX
    % ---------------------------------------------------
\end{document}