summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/iodhbwm/doc/examples/customizing/iodhbwm-print.tex
blob: 63be57d122750eb4db28088efb91220bb3e8fa70 (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
% ---------------------------------------------------
% Date:       08.08.2019
% Version:    v1.1.1
% Autor:      Felix Faltin <ffaltin91[at]gmail.com>
% Repository: https://github.com/faltfe/iodhbwm
% ---------------------------------------------------
% --- --- --- --- -- Class options -- --- --- --- ---
% ---------------------------------------------------
\documentclass[
    load-dhbw-templates,
    print,                  % alternativ print- oder auskommentieren
    add-tocs-to-toc,
    debug,
    language = ngerman
]{iodhbwm}
\usepackage[T1]{fontenc}

% ---------------------------------------------------
% --- --- --- --- - Necessary setup - --- --- --- ---
% ---------------------------------------------------
\dhbwsetup{%
    author              = Max Mustermann,
    thesis type         = SA,
    thesis title        = Überprüfung von Bausteinen,
    thesis second title = Zweiter Titel,
    student id          = 12345,
    location            = Musterstadt,
    institute           = Musterwerke GmbH,
    course/id           = Txxxx,
    supervisor          = Gott,
    processing period   = {01.01.17 -- 31.01.17}
}

% ---------------------------------------------------
% --- --- --- --- Begin actual content -- --- --- ---
% ---------------------------------------------------
\begin{document}
    
    \chapter{My listing}
        \blindtext
        
        \begin{lstlisting}[caption={Hello World},language=TeX]
\newcommand{\hello}{hello}
\newcommand{\world}{world}
\newcommand{\print}{\hello\space\world}
\print
        \end{lstlisting}
        
        \blindtext

\end{document}