Debian Codegraph @

texmf-dist/doc/latex/iodhbwm/examples/customizing/iodhbwm-print.tex

raw
1 % ---------------------------------------------------
2 % Date: 08.08.2019
3 % Version: v1.1.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,
11 print, % alternativ print- oder auskommentieren
12 add-tocs-to-toc,
13 debug,
14 language = ngerman
15 ]{iodhbwm}
16 \usepackage[T1]{fontenc}
17
18 % ---------------------------------------------------
19 % --- --- --- --- - Necessary setup - --- --- --- ---
20 % ---------------------------------------------------
21 \dhbwsetup{%
22 author = Max Mustermann,
23 thesis type = SA,
24 thesis title = Überprüfung von Bausteinen,
25 thesis second title = Zweiter Titel,
26 student id = 12345,
27 location = Musterstadt,
28 institute = Musterwerke GmbH,
29 course/id = Txxxx,
30 supervisor = Gott,
31 processing period = {01.01.17 -- 31.01.17}
32 }
33
34 % ---------------------------------------------------
35 % --- --- --- --- Begin actual content -- --- --- ---
36 % ---------------------------------------------------
37 \begin{document}
38
39 \chapter{My listing}
40 \blindtext
41
42 \begin{lstlisting}[caption={Hello World},language=TeX]
43 \newcommand{\hello}{hello}
44 \newcommand{\world}{world}
45 \newcommand{\print}{\hello\space\world}
46 \print
47 \end{lstlisting}
48
49 \blindtext
50
51 \end{document}