-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdhbw-ultimate.tex
More file actions
201 lines (177 loc) · 6.11 KB
/
dhbw-ultimate.tex
File metadata and controls
201 lines (177 loc) · 6.11 KB
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
%%#######################################################
%%# DHBW ULTIMATE #
%%# LaTEX template for english papers #
%%# optimized for DHBW Stuttagrt #
%%# computer science #
%%# #
%%# #
%%# based on: github.com/dhbw-horb/latexVorlageEnglisch #
%%# by: t-kopp #
%%# (kevinkepp, ZaiLynch) #
%%# author: Tobias Dreher, Yves Fischer (2011) #
%%# #
%%# #
%%# Marius Herget, info@herget.design, TINF14A #
%%#######################################################
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%% define your SETTINGS %%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\pdftitel}{DHBW-ULTIMATE}
\newcommand{\autor}{Marius Herget}
\newcommand{\arbeit}{Template LaTEX}
\newcommand{\version}{draft} % change to "final" to disable comments | "draft" shows notes/tbds/etc
\newcommand{\isPrintVersion}{true}
%%%% Don't touch! %%%%
\IfFileExists{.TEX/printversion.tex}
{\input{.TEX/printversion}}
{}
\input{.TEX/header}
\IfFileExists{ownFrameworks.tex}{\input{ownFrameworks}}{}
%%%%%%%%%%%%%%%%%%%%%%
% Ab jetzt können auch Umlaute verwendet werden
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%% other SETTINGS %%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\titel}{How to build your own Death Star based on your personal 3D printer}
\newcommand{\untertitel}{... and why there will be unicorns}
\newcommand{\matrikelnr}{1337}
\newcommand{\kurs}{TINF14A}
\newcommand{\datumAbgabe}{January 4242}
\newcommand{\firma}{Todesstern GmBH}
\newcommand{\firmenort}{Stuttgart, GER}
\newcommand{\abgabeort}{Stuttgart}
\newcommand{\abschluss}{Bachelor of Science}
\newcommand{\studiengang}{Applied Unicorn Science}
\newcommand{\dhbw}{Stuttgart}
\newcommand{\betreuer}{Darth Vader}
\newcommand{\gutachter}{Luke Skywalker}
\newcommand{\zeitraum}{3rd PE}
\newcommand{\jahr}{2016}
\newcommand{\confidental}{Empire CONFIDENTAL} % remark right lower corner
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% You don't need to work here if you are not familiar with latex and this template %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\rofoot*{\confidental}
% TBD
\newcommand{\tbd}[1][null]{
\ifthenelse{\equal{#1}{null}}
{\fxwarning[]{}}
{\fxnote[]{#1}}
}
\newcommand{\todo}[1][null]{
\ifthenelse{\equal{#1}{null}}
{\fxwarning[]{}}
{\fxnote[]{#1}}
}
\newcommand{\question}[1][???]{\fxfatal[]{#1}}\let\origdoublepage\cleardoublepage
\renewcommand{\cleardoublepage}{%
\clearpage
{\pagestyle{empty}\origdoublepage}%
}
\cleardoublepage
\makeglossaries
\input{content/glossary}
\begin{document}
% Deckblatt
\begin{spacing}{1}
\cleardoublepage
\input{.TEX/cover} % LANGUAGE
\cleardoublepage
\listoffixmes % todos
\end{spacing}
\newpage
\renewcommand{\thepage}{\Roman{page}}
\setcounter{page}{1}
% Declaration
\cleardoublepage
\input{content/declaration} % LANGUAGE
\newpage
% Abstract
\cleardoublepage
\input{content/abstract}
\newpage
\pagestyle{scrheadings}
% Table of contents
\begin{spacing}{1}
\cleardoublepage
\pagenumbering{Roman}
\setcounter{tocdepth}{3}
\tableofcontents
\cleardoublepage
\end{spacing}
% Abbildungsverzeichnis
\cleardoublepage
\phantomsection \label{listoffig}\addcontentsline{toc}{chapter}{\listfigurename}
% LANGUAGE
\listoffigures
% Tabellenverzeichnis
\cleardoublepage
\phantomsection \label{listoftab}\addcontentsline{toc}{chapter}{\listtablename}
% LANGUAGE
\listoftables
% Quellcodeverzeichnis
\cleardoublepage
\phantomsection \label{listoflist}\addcontentsline{toc}{chapter}{List of \lstlistlistingname}
% LANGUAGE
\lstlistoflistings
% Abkürzungsverzeichnis
% vorher in Konsole folgendes aufrufen:
% makeglossaries makeglossaries dokumentation.acn && makeglossaries dokumentation.glo
\cleardoublepage
%\phantomsection
\printglossary[type=\acronymtype]
% Glossar
\cleardoublepage
%\phantomsection
\printglossary[style=altlist,title=Glossary]
\cleardoublepage \clearpage
\pagenumbering{arabic}
% Inhalt
\setstretch{1,5} % 1,5zeilig
\patchcmd{\chapter}
{\clearpage}
{\cleardoublepage}
{}
{}
% contents file is generated by make
\IfFileExists{.TEX/contents.tex}
{\input{.TEX/contents}}
{NO CONTENTS FILE AVAILABLE.\\
\textbf{Please render with makefile or create a file like the following:}\\
\textbackslash\{content/main/filename1\}\\
\textbackslash\{content/main/filename2\}\\
}
\setstretch{1}
% Anhang
\clearpage
\pagenumbering{roman}
% Literaturverzeichnis
\cleardoublepage
\phantomsection \label{listoflit}
\addcontentsline{toc}{chapter}{Bibliography}
% LANGUAGE
\printbibliography
\cleardoublepage
% Appendix
\IfFileExists{.TEX/appendices.tex}
{
\captionsetup{list=no}
%\addtocontents{lof}{\protect\setcounter{tocdepth}{0}} %trick to dont show appendicies in table of contents/figures/...
\begin{appendices}\label{appendices}
\lofoot*{Appendices}
\cleardoublepage
\pagenumbering{arabic}
\renewcommand{\thesubsection}{\Alph{subsection}}
\input{.TEX/appendices.tex}
\end{appendices}
}
{}
\end{document}