forked from riehlegroup/thesis-template-latex
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy paththesis.tex
More file actions
121 lines (90 loc) · 3.53 KB
/
thesis.tex
File metadata and controls
121 lines (90 loc) · 3.53 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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Do not change this document unless you know what you're doing! %%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% To write your thesis, edit the following files:
% * myconfiguration.sty
% * mybibliography.bib
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[12pt,a4paper,twoside,openright]{report}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{myconfiguration,osrthesis}
\usepackage[backend=biber,style=apa]{biblatex}
\DeclareLanguageMapping{ngerman}{ngerman-apa}
\DeclareLanguageMapping{british}{british-apa}
\addbibresource[datatype=bibtex]{mybibliography.bib}
\title{\thesistitle}
\author{\thesisauthorgivenname\ \thesisauthorsurname}
\date{\thesissubmissiondate}
\begin{document}
\maketitle
\shipout\null
\renewcommand{\chaptername}{} % Remove 'Chapter' in chapter headings
%%%%%%%%%%%%%%%%% PREFIX SECTION %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\pagenumbering{roman}
\headerstyleprefixsection
%% Remove the page breaks between chapters
\makeatletter
\renewcommand\chapter{\par%
\thispagestyle{plain}%
\global\@topnum\z@
\@afterindentfalse
\secdef\@chapter\@schapter}
\makeatother
\chapter*{Versicherung}\label{chapter:versicherung}
Ich versichere, dass ich die Arbeit ohne fremde Hilfe und ohne
Benutzung anderer als der angegebenen Quellen angefertigt habe und
dass die Arbeit in gleicher oder ähnlicher Form noch keiner
anderen Prüfungsbehörde vorgelegen hat und von dieser als
Teil einer Prüfungsleistung angenommen wurde. Alle Ausführungen,
die wörtlich oder sinngemäß übernommen wurden, sind als
solche gekennzeichnet.
\vspace{.5in}
\makebox[3in]{\hrulefill} \\
\thesissubmissioncity, \printdate{\thesissubmissiondate}
\chapter*{License}\label{chapter:license}
This work is licensed under the Creative Commons Attribution 4.0
International license (CC BY 4.0), see
\url{https://creativecommons.org/licenses/by/4.0/}
\vspace{.5in}
\makebox[3in]{\hrulefill} \\
\thesissubmissioncity, \printdate{\thesissubmissiondate}
%% Re-install the page breaks between chapters
\makeatletter
\renewcommand\chapter{\if@openright\cleardoublepage\else\clearpage\fi
\thispagestyle{plain}%
\global\@topnum\z@
\@afterindentfalse
\secdef\@chapter\@schapter}
\makeatother
\chapter*{Abstract}\label{chapter:abstract}
\input contents/abstract.tex
\ifthenelse{\equal{\detokenize{\thesislanguage}}{\detokenize{German}}}
{ % true
\chapter*{Zusammenfassung}\label{chapter:zusammenfassung}
\input contents/zusammenfassung.tex
} { %false
}
\tableofcontents
\input{contents/acronyms.tex}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%% MAIN SECTION %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\cleardoublepage
\pagenumbering{arabic}
\headerstylemainsection
\input contents/example.tex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%% CLOSING SECTIONS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{appendices}
\renewcommand{\setthesection}{\Alph{section}}
\renewcommand{\thesection}{\Alph{section}}
\headerstyleclosingsection\
\renewcommand\sectionmark[1]{\markright{\thesection : #1}} % Appendix A. => Appendix A:
\input contents/appendices.tex
\end{appendices}
\cleardoublepage
\renewcommand\bibname{\referencesname}
\addcontentsline{toc}{chapter}{\referencesname}
\printbibliography
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\end{document}