-
Notifications
You must be signed in to change notification settings - Fork 9
/
BA-Dokumentation-Template.tex
178 lines (125 loc) · 4.29 KB
/
BA-Dokumentation-Template.tex
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
\documentclass[
a4paper
]{scrreprt}
%%% PACKAGES %%%
% PDF/A Compliance
\usepackage[a-2b,latxmp]{pdfx}
\catcode30=12
% add unicode support and use german as language
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
% Use Helvetica as font
\usepackage[scaled]{helvet}
\renewcommand\familydefault{\sfdefault}
\usepackage[T1]{fontenc}
% Better tables
\usepackage{tabularx}
% Better enumerisation env
\usepackage{enumitem}
% Use graphics
\usepackage{graphicx}
% Have subfigures and captions
\usepackage{subcaption}
% Be able to include PDFs in the file
\usepackage{pdfpages}
% Have custom abstract heading
\usepackage{abstract}
% Need a list of equation
\usepackage{tocloft}
\usepackage{ragged2e}
% Better equation environment
\usepackage{amsmath}
% Symbols for most SI units
\usepackage{siunitx}
\usepackage{csquotes}
% Change page rotation
\usepackage{pdflscape}
% Symbols like checkmark
\usepackage{amssymb}
\usepackage{pifont}
\usepackage[absolute]{textpos}
% Glossary, hyperref, babel, polyglossia, inputenc, fontenc must be loaded before this package if they are used
\usepackage{glossaries}
% Redefine the quote charachter as we are using ngerman
\GlsSetQuote{+}
% Define the usage of an acronym, Abbreviation (Abbr.), next usage: The Abbr. of ...
\setacronymstyle{long-short}
% Bibliography & citing
\usepackage[
backend=biber,
style=apa,
bibstyle=apa,
citestyle=apa,
sortlocale=de_DE
]{biblatex}
\addbibresource{Referenzen.bib}
\DeclareLanguageMapping{ngerman}{ngerman-apa}
% Clickable Links to Websites and chapters
% From the documentation: "Make sure it comeslastof your loaded packages, to give it a fighting chance of not beingover-written, since its job is to redefine many LATEX commands"
\usepackage{hyperref}
%%% COMMAND REBINDINGS %%%
\newcommand{\tabitem}{~~\llap{\textbullet}~~}
\newcommand{\xmark}{\ding{55}}
\newcommand{\notmark}{\textbf{\textasciitilde}}
% Pro/Con item https://tex.stackexchange.com/questions/145198/change-the-bullet-of-each-item#145203
\newcommand\pro{\item[$+$]}
\newcommand\con{\item[$-$]}
%%% TRAVIS DEPENDENCY
% Can delete if you don't use Travis for CI/CD
% Fallback DocumentVersion for the preamble if built locally
\providecommand{\docversion}{0.0-localBuild}
% Define list of equations - Thanks to Charles Clayton: https://tex.stackexchange.com/a/354096
\newcommand{\listequationsname}{\huge{Formelverzeichnis}}
\newlistof{myequations}{equ}{\listequationsname}
\newcommand{\myequations}[1]{
\addcontentsline{equ}{myequations}{\protect\numberline{\theequation}#1}
}
\setlength{\cftmyequationsnumwidth}{2.3em}
\setlength{\cftmyequationsindent}{1.5em}
% Usage {equation}{caption}{label}
% \indexequation{b = \frac{\pi}{\SI{180}{\degree}}\cdot\beta\cdot 6378.137}{Bogenlänge $b$ des Winkels $\beta$ mit Radius 6378.137m (Distanz zum Erdmittelpunkt am Äquator)}{Bogenlaenge}
\newcommand{\indexequation}[3]{
\begin{align} \label{#3} \ensuremath{\boxed{#1}} \end{align}
\myequations{#3} \centering \small \textit{#2} \normalsize \justify }
% Todolist - credit to https://tex.stackexchange.com/questions/247681/how-to-create-checkbox-todo-list
\newlist{todolist}{itemize}{1}
\setlist[todolist]{label=$\square$}
% Nested Enumeratelist credit to https://tex.stackexchange.com/a/54676
\newlist{legal}{enumerate}{10}
\setlist[legal]{label*=\arabic*.}
%%% PATH DEFINITIONS %%%
% Define the path were images are found
\graphicspath{{./img/}{./appendix/}}
%%% GLOSSARY ENTRIES %%%
\makeglossaries
% \newacronym{RFID}{RFID}{Radio-Frequency Identification}
% \newglossaryentry{HF}{name={HF},description={High Frequency, RFID Tags im Frequenzbereich von 3-30MHz}}
%%% DOCUMENT %%%
\begin{document}
\include{include/HSLU_Preamble}
\pagenumbering{Roman}
\begin{abstract}
% TODO Abstract schreiben =)
\end{abstract}
\tableofcontents
\clearpage
\pagenumbering{arabic}
\include{include/Einleitung}
\include{include/Stand_der_Technik}
\include{include/Ideen_und_Konzepte}
\include{include/Methode}
\include{include/Realisierung}
\include{include/Evaluation_und_Validation}
\include{include/Ausblick}
\newpage
\pagenumbering{Roman}
\appendix
% Verhindert das Einfügen von Kapiteltitel kleiner als \chapter
\addtocontents{toc}{\protect\setcounter{tocdepth}{0}}
\printglossary
\listoffigures
\listoftables
\listofmyequations \pagebreak
\printbibliography
\include{include/Anhang}
\end{document}