This repository has been archived by the owner on Oct 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.tex
192 lines (155 loc) · 6.33 KB
/
config.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
179
180
181
182
183
184
185
186
187
188
189
190
191
192
% !TEX root = master.tex
% LANGUAGE SETTINGS AND FONT ENCODING
%
\usepackage[ngerman]{babel} % German language
\usepackage[utf8]{inputenc}
\usepackage[german=quotes]{csquotes} % correct quotes using \enquote{}
\usepackage[T1]{fontenc}
%\usepackage[english]{babel} % For english language
%\usepackage{csquotes} % Richtiges Setzen der Anführungszeichen mit \enquote{}
% HYPERREF
%
\usepackage[
hidelinks=true % keine roten Markierungen bei Links
]{hyperref}
% Zwei eigene Befehle zum Setzen von Autor und Titel. Ausserdem werden die PDF-Informationen richtig gesetzt.
\newcommand{\TitelDerArbeit}[1]{\def\DerTitelDerArbeit{#1}\hypersetup{pdftitle={#1}}}
\newcommand{\AutorDerArbeit}[1]{\def\DerAutorDerArbeit{#1}\hypersetup{pdfauthor={#1}}}
\newcommand{\Firma}[1]{\def\DerNameDerFirma{#1}}
\newcommand{\Kurs}[1]{\def\DieKursbezeichnung{#1}}
\newcommand{\heading}[1]{\textbf{#1}}
% Correct superscripts
\usepackage{fnpct}
% Tabellen
\usepackage{ltablex}
\newcolumntype{s}{>{\hsize=.75\hsize}X}
% CALCULATIONS
%
\usepackage{calc} % Used for extra space below footsepline
% BIBLIOGRAPHY SETTINGS
%
% Uncomment the next three lines for author-year-style with footnotes (Chicago)
\usepackage[backend=biber, autocite=footnote, style=authoryear, dashed=false]{biblatex} %Use Author-Year-Cites with footnotes
\AdaptNoteOpt\footcite\multfootcite %will add separators if footcite is called multiple consecutive times
\AdaptNoteOpt\autocite\multautocite % will add separators if autocite is called multiple consecutive times
% Uncomment the next line for IEEE-style
% \usepackage[backend=biber, autocite=inline, style=ieee]{biblatex} % Use IEEE-Style (e.g. [1])
% Uncomment the next line for alphabetic style
% \usepackage[backend=biber, autocite=inline, style=alphabetic]{biblatex} % Use alphabetic style (e.g. [TGK12])
% Uncomment the next two lines vor Harvard-Style
%\usepackage[backend=biber, style=apa]{biblatex}
%\DeclareLanguageMapping{german}{german-apa}
\DefineBibliographyStrings{ngerman}{ %Change u.a. to et al. (german only!)
andothers = {{et\,al\adddot}},
}
%%% Uncomment the following lines to support hard URL breaks in bibliography
%\apptocmd{\UrlBreaks}{\do\f\do\m}{}{}
%\setcounter{biburllcpenalty}{9000}% Kleinbuchstaben
%\setcounter{biburlucpenalty}{9000}% Großbuchstaben
\setlength{\bibparsep}{\parskip} %add some space between biblatex entries in the bibliography
\addbibresource{bibliography.bib} %Add file bibliography.bib as biblatex resource
% FOOTNOTES
%
% Count footnotes over chapters
\usepackage{chngcntr}
\counterwithout{footnote}{chapter}
% ACRONYMS
%%%
%%% WICHTIG: Installieren Sie das neueste Acronyms-Paket!!!
%%%
\makeatletter
\usepackage[printonlyused]{acronym}
\@ifpackagelater{acronym}{2015/03/20}
{%
\renewcommand*{\aclabelfont}[1]{\textbf{\textsf{\acsfont{#1}}}}
}%
{%
}%
\makeatother
% LISTINGS
% \usepackage{listings} %Format Listings properly
% \usepackage{xcolor}
% \renewcommand{\lstlistingname}{Quelltext}
% \renewcommand{\lstlistlistingname}{Quelltextverzeichnis}
% \lstset{numbers=left,
% numberstyle=\tiny,
% captionpos=b,
% basicstyle=\ttfamily\small,
% tabsize=2
% }
% \colorlet{punct}{red!60!black}
% \definecolor{delim}{RGB}{20,105,176}
% \colorlet{numb}{magenta!60!black}
% \lstdefinelanguage{json}{
% basicstyle=\normalfont\ttfamily,
% numbers=left,
% numberstyle=\scriptsize,
% stepnumber=1,
% numbersep=8pt,
% showstringspaces=false,
% breaklines=true,
% frame=lines,
% literate=
% *{0}{{{\color{numb}0}}}{1}
% {1}{{{\color{numb}1}}}{1}
% {2}{{{\color{numb}2}}}{1}
% {3}{{{\color{numb}3}}}{1}
% {4}{{{\color{numb}4}}}{1}
% {5}{{{\color{numb}5}}}{1}
% {6}{{{\color{numb}6}}}{1}
% {7}{{{\color{numb}7}}}{1}
% {8}{{{\color{numb}8}}}{1}
% {9}{{{\color{numb}9}}}{1}
% {:}{{{\color{punct}{:}}}}{1}
% {,}{{{\color{punct}{,}}}}{1}
% {\{}{{{\color{delim}{\{}}}}{1}
% {\}}{{{\color{delim}{\}}}}}{1}
% {[}{{{\color{delim}{[}}}}{1}
% {]}{{{\color{delim}{]}}}}{1},
% }
% EXTRA PACKAGES
\usepackage{microtype} % für bessere Silbentrennung
\usepackage{graphicx} % use various graphics formats
\usepackage[german]{varioref} % nicer references \vref
\usepackage{caption} %better Captions
\usepackage{booktabs} %nicer Tabs
\usepackage{array}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric, arrows}
\tikzstyle{startstop} = [rectangle, rounded corners, minimum width=3cm, minimum height=1cm,text centered, draw=black, fill=red!30]
\tikzstyle{io} = [trapezium, trapezium left angle=70, trapezium right angle=110, minimum width=3cm, minimum height=1cm, text centered, draw=black, fill=blue!30]
\tikzstyle{process} = [rectangle, minimum width=3cm, minimum height=1cm, text centered, draw=black, fill=orange!30]
\tikzstyle{decision} = [diamond, minimum width=3cm, minimum height=1cm, text centered, draw=black, fill=green!30]
\tikzstyle{arrow} = [thick,->,>=stealth]
%\newcolumntype{P}[1]{>{\raggedright\arraybackslash}p{#1}}
% MATH-SUFF
\usepackage{amsthm}
\usepackage{amsmath}
\usepackage{amssymb}
\theoremstyle{definition}
\newtheorem{definition}{Definition}[section]
\newtheorem{example}{Beispiel}[section]
\newtheorem{problem}{Problem}[section]
% ALGORITHMS
% \usepackage{algorithm}
% \usepackage{algpseudocode}
% \renewcommand{\listalgorithmname}{Algorithmenverzeichnis }
% \floatname{algorithm}{Algorithmus}
% FONT SELECTION: Entweder Latin Modern oder Times / Helvetica
\usepackage{lmodern} %Latin modern font
%\usepackage{mathptmx} %Helvetica / Times New Roman fonts (2 lines)
%\usepackage[scaled=.92]{helvet} %Helvetica / Times New Roman fonts (2 lines)
% PAGE HEADER / FOOTER
% Warning: There are some redefinitions throughout the master.tex-file! DON'T CHANGE THESE REDEFINITIONS!
\usepackage[automark,headsepline,footsepline]{scrlayer-scrpage}
% \RequirePackage[automark,headsepline,footsepline]{scrpage2}
\pagestyle{scrheadings}
\renewcommand*{\pnumfont}{\upshape\sffamily}
\renewcommand*{\headfont}{\upshape\sffamily}
\renewcommand*{\footfont}{\upshape\sffamily}
\renewcommand{\chaptermarkformat}{}
\RedeclareSectionCommand[beforeskip=0pt]{chapter}
\clearscrheadfoot
\ifoot[\rule{0pt}{\ht\strutbox+\dp\strutbox}DHBW Mannheim]{\rule{0pt}{\ht\strutbox+\dp\strutbox}DHBW Mannheim}
\ofoot[\rule{0pt}{\ht\strutbox+\dp\strutbox}\pagemark]{\rule{0pt}{\ht\strutbox+\dp\strutbox}\pagemark}
\ohead{\headmark}