-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.tex
110 lines (98 loc) · 3.09 KB
/
main.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
% VAWi LaTeX Vorlage
% Erstellt von Joe Schwerdtner
% Inspiriert von der Vorlage von Linus Dietz
% pandoc export mit: pandoc main.tex -N --bibliography=bibliography.bib -o main.docx --reference-doc=pandoc-template.docx
% Importieren aller Voreinstellung
\input{config.tex}
% Boolean Variablen
\def\secondsubmission{1}
\def\confidential{1}
% Allgemeine Variablen
\renewcommand\title{Wissenschaftliches Arbeiten}
\newcommand{\titleEN}{Scientific work}
\renewcommand\date{\today}
\newcommand{\typeofwork}{Masterarbeit}
\newcommand{\company}{Muster GmbH}
\newcommand{\uni}{Universität Duisburg-Essen}
\newcommand{\study}{Virtueller Weiterbildungsstudiengang Wirtschaftsinformatik (VAWi)}
% Daten des Autors
\renewcommand\author{Max Mustermann}
\newcommand{\street}{Musterstr. 3}
\newcommand{\zipcode}{40455}
\newcommand{\city}{Musterstadt}
\newcommand{\mtrnr}{12345678}
% Gutachter
\newcommand{\firstexpert}{Prof. Dr. Max Mustermann, Universität Duisburg-Essen}
\newcommand{\secondexpert}{Prof. Dr. Maxine Mustermann, Universität Bamberg}
% Abgabe
\newcommand{\submissiondate}{31.03.2020}
\newcommand{\submissionsemester}{Wintersemester 19/20}
% Zitierstiel & Bib-Quelle
\usepackage[notes,short,backend=biber]{biblatex-chicago}
\addbibresource{bibliography.bib}
% Formatierung der Fußnoten
\deffootnote{1.5em}{1em}{
\makebox[1.5em][l]{\thefootnotemark}
}
% Durchgängige Zählung von Fußnoten, Abbildungen und Tabellen
\counterwithout{footnote}{chapter}
\counterwithout{figure}{chapter}
\counterwithout{table}{chapter}
% Literaturverzeichnis ohne Seitenzahlen
\renewcommand{\bibsetup}{\pagestyle{headeronly}}
% Ermöglicht Erstellung von Diagrammen
\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{compat=1.16}
\pgfplotsset{
discard if/.style 2 args={
x filter/.code={
\edef\tempa{\thisrow{#1}}
\edef\tempb{#2}
\ifx\tempa\tempb
\def\pgfmathresult{inf}
\fi
}
},
discard if not/.style 2 args={
x filter/.code={
\edef\tempa{\thisrow{#1}}
\edef\tempb{#2}
\ifx\tempa\tempb
\else
\def\pgfmathresult{inf}
\fi
}
}
}
% Dokument
\begin{document}
% Nummerierung bis zum Hauptteil römisch (Großbuchstaben)
\pagenumbering{Roman}
% Einfügen der Titelseite
\input{templates/cover.tex}
% Falls ein Sperrvermerk erforderlich ist, wird er eingefügt
\if\confidential 1
\input{templates/non_disclosure_agreement.tex}
\fi
% Inhaltsverzeichnis
\tableofcontents
% Falls Abbildungen vorhanden sind, wird ein Verzeichnis eingefügt
\ifnum\totalfigures>0
\listoffigures
\fi
% Falls Tabellen vorhanden sind, wird ein Verzeichnis eingefügt
\ifnum\totaltables>0
\listoftables
\fi
\newpage
% Wechsel der Seitennummerierung auf arabische Zahlen
\pagenumbering{arabic}
% Hauptteil der Arbeit
\input{content.tex}
% Literaturverzeichnis
\printbibliography
\thispagestyle{headeronly}
% Eidesstattliche Versicherung
\input{templates/declaration_on_oath.tex}
\end{document}