-
Notifications
You must be signed in to change notification settings - Fork 3
/
thesis.tex
126 lines (97 loc) · 3.46 KB
/
thesis.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
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass{harvard-thesis}
% ToDo notes package
\usepackage{packages/todonotes}
\usepackage{array}
% for much better looking tables
\usepackage{booktabs}
\usepackage{multirow}
\usepackage{tabularx}
\usepackage{tabulary}
\usepackage{varwidth}
\usepackage{amsthm}
\usepackage{enumitem}
% package used to draw boxes around environments
\usepackage{mdframed}
% English *and* German are necessary!
\usepackage[german,english]{babel}
\theoremstyle{plain}
\newtheorem{thm}{Theorem}[chapter] % reset theorem numbering for each chapter
\theoremstyle{definition}
\newtheorem{defn}[thm]{Definition} % definition numbers are dependent on theorem numbers
\newtheorem{exmp}[thm]{Example} % same for example numbers
\newtheorem{resques}[thm]{Research Question} % same for research questions
\newtheorem{hypoth}[thm]{Hypothesis} % same for research questions
\newtheorem*{hypoth*}{Hypothesis} % same for research questions
% These commands are defined for new column types in tables.
% Sooner or later you will have some trouble with tables, anyway. :-)
\newcolumntype{M}[1]{>{\begin{varwidth}[t]{#1}}l<{\end{varwidth}}}
\newcolumntype{L}[1]{>{\raggedright\arraybackslash}p{#1}}
\newcolumntype{C}[1]{>{\centering\arraybackslash}p{#1}}
\newcolumntype{R}[1]{>{\raggedleft\arraybackslash}p{#1}}
% If you required that some words should be NEVER be hyphenated,
% then, include them here:
%\hyphenation{PiCsMu}
\begin{document}
% Also, there's the possibility to include commands of terms that are
% used with a high frequency. The advantage of using commands that are
% translated into text is that, if you have to change the terms, then it
% will be automatically reflected to the whole text without any effort!
% You just need to use the commands throughout the thesis, of course.
%
%\newcommand{\picsmu}{PiCsMu}
%\newcommand{\picsmuuser}[1]{\picsmu user#1}
%\newcommand{\picsmuapplication}[1]{\picsmu application}
%\newcommand{\picsmusystem}[1]{\picsmu system}
%\newcommand{\cloud}[1]{Cloud#1}
%\newcommand{\ptopnetwork}[1]{P2P network#1}
%\newcommand{\ptopsystem}[1]{P2P system#1}
%\newcommand{\cloudcomputing}{Cloud computing}
%\newcommand{\cloudservice}[1]{Cloud service#1}
%\newcommand{\cloudprovider}[1]{Cloud provider#1}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% the front matter
\input{cover/coverpage}
% If the title gets too long that the cover is placed to the second page, then, you should adjust the
% "beforeTitle" and "afterTitle" attributes. Setting these attributes overwrite the default values,
% which are 70pt, respectively.
% Example: \coveruzh[beforeTitle=60pt, afterTitle=50pt]
\coveruzh
%\copyrightpage
\frontmatter
\abstractpage
\kurzfassungspage
\tableofcontents
%\authorlist
%\dedicationpage
\vspace*{\fill} \newpage
\setcounter{page}{1}
\pagenumbering{arabic}
\setstretch{1.1}
\mainmatter
\include{chapters/chapter1}
\include{chapters/chapter2}
\include{chapters/chapter3}
\include{chapters/chapterN}
\singlespacing
\backmatter
% The cleardoublepage and phantomsection commands are needed because
% the "Reference" chapter was wrong in the index hyperlinks
% Now, it's correct.
\cleardoublepage\phantomsection
% the back matter
\clearpage
\addcontentsline{toc}{chapter}{References}
{\small
\setstretch{1.1}
\bibliography{bib/rfc}}
\bibliographystyle{amsplain}
\include{chapters/appendix}
\listoffigures
\addcontentsline{toc}{chapter}{List of Figures}
\listoftables
\addcontentsline{toc}{chapter}{List of Tables}
\acknowledgments
\cv
\end{document}