Newer
Older
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
202
203
204
205
206
207
208
209
210
211
212
213
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Bachelor and Master Thesis Template
% Research Group Databases and Information Systems
% University of Innsbruck
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% define document class
\documentclass[11pt,a4paper,titlepage, twoside]{report}
% include required packages
\usepackage{fancyhdr}
\usepackage{graphicx}
\usepackage[english,ngerman]{babel}
\usepackage[utf8]{inputenc}
\usepackage{url}
\usepackage{appendix}
% % use abbrv-bibliography style
\bibliographystyle{abbrv}
% specify margins for two-sided print
\oddsidemargin 3cm
\evensidemargin 1cm
\textwidth 12cm
% define header format
\fancyhead{}
\fancyhead[LE,RO]{\leftmark}
\fancyfoot[LO, RE]{Name1, Name2}
\fancyfoot[RO, LE]{\thepage}
\fancyfoot[CE, CO]{}
\headheight 26pt
\renewcommand{\headrulewidth}{0.3pt}
\renewcommand{\footrulewidth}{0.3pt}
% define style for appendix header
\newcommand{\appendixheader}{ % specify header for appendix
\fancyhf{}
\fancyhead[LE, RO]{APPENDIX \rightmark}
\fancyfoot[LO, RE]{Name 1, Name 2}
\fancyfoot[RO, LE]{\thepage}
}
% code for creating empty pages
% no headers on empty pages before new chapter
\makeatletter
\def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else
\hbox{}
\thispagestyle{empty}
\newpage
\if@twocolumn\hbox{}\newpage\fi\fi\fi}
\makeatother \clearpage{\pagestyle{empty}\cleardoublepage}
\begin{document}
\parindent 0cm
%+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
% TITELSEITE
%+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
\begin{titlepage}
\begin{center}
% insert university logo
\includegraphics[height=40mm]{uni_2017.eps} \\[3mm]
\vspace{1cm}
\begin{large}
Universität Innsbruck\\[5mm]
Department of Computer Science\\
Databases and Information Systems\\[25mm]
\end{large}
\begin{LARGE}Title\\ \end{LARGE}
\begin{footnotesize}Bachelor Thesis\end{footnotesize}\\[15mm]
Student Name \\ Student Name\\[30mm]
supervised by\\
Prof. Dr. G\"{u}nther Specht\\[10mm]
\begin{footnotesize}Innsbruck, \today \end{footnotesize}
\end{center}
\end{titlepage}
%+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
% ABSTRACT / ZUSAMMENFASSUNG
%+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
\cleardoublepage
\thispagestyle{empty}
\selectlanguage{ngerman}
\section*{Eidesstattliche Erklärung}
Ich erkläre hiermit an Eides statt durch meine eigenhändige Unterschrift, dass ich die vorliegende Arbeit selbständig verfasst und keine anderen als die angegebenen Quellen und Hilfsmittel verwendet habe.
Alle Stellen, die wörtlich oder inhaltlich den angegebenen Quellen entnommen wurden, sind als solche kenntlich gemacht.\\
Ich erkläre mich mit der Archivierung der vorliegenden Bachelorarbeit einverstanden.\\[3cm]
\begin{minipage}{0.4\textwidth}
\centering
\rule{\textwidth}{.4pt}\\
Datum
\end{minipage}%
\hfill%
\begin{minipage}{0.4\textwidth}
\centering
\rule{\textwidth}{.4pt}\\
Unterschrift
\end{minipage}
\selectlanguage{english}
\cleardoublepage
\thispagestyle{plain}
\pagenumbering{Roman}
\selectlanguage{ngerman}
\begin{abstract}
Dies ist die deutsche Zusammenfassung.
\end{abstract}
\selectlanguage{english}
\cleardoublepage
\begin{abstract}
This is the English abstract.
\end{abstract}
%+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
% DANKSAGUNG
%+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
%\cleardoublepage
%\thispagestyle{plain}
%\chapter*{Acknowledgements}
%+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
% INHALTSVERZEICHNIS
%+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
\cleardoublepage
\pagestyle{fancy}
\tableofcontents
%+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
% CHAPTER 1
%+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
% chapter starts on right side
\cleardoublepage
\chapter{Introduction}
% change numbering to normal format, set page counter to 1
\pagenumbering{arabic}
\setcounter{page}{1}
%+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
% CHAPTER 2
%+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
\cleardoublepage
\chapter{Chaptername 2}
%-------------------------------------
% SECTION
%-------------------------------------
\section{Section}
\subsection{Subsection}
%+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
% APPENDIX A
%+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
\cleardoublepage
\appendixheader
% reset counter for section numbering
\setcounter{section}{0}
\setcounter{chapter}{0}
% redefine numbering of sections to A.x
\renewcommand{\thesection}{A.\arabic{section}}
\renewcommand{\thechapter}{A}
\chapter*{Appendix} % use *-form to suppress numbering
\addcontentsline{toc}{chapter}{Appendix}
% reset counter for section numbering
\setcounter{section}{0}
\setcounter{chapter}{0}
% redefine numbering of sections to A.x
\renewcommand{\thesection}{A.\arabic{section}}
\renewcommand{\thechapter}{A}
\section{Subsection Appendix}
%+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
% BIBLIOGRAPHY
%+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
\cleardoublepage
\nocite{*}
\bibliography{lit}
\addcontentsline{toc}{chapter}{Bibliography}
\end{document}