-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathddis-thesis-EN.tex
executable file
·143 lines (115 loc) · 3.86 KB
/
ddis-thesis-EN.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
%%
%% This is file `ddis_thesis-EN.tex'
%% Change log
%%
%% 20.10.05 initial version Christoph Kiefer (ck)
%% 13.12.05 textwidth enlarged ck
%% 15.05.06 caption error removed ck
%% README update
%% 18.05.08 added apalike_brackets package ck
%% (thanks to Andreas Bossard)
%%
%==============================================================================
% Prolog
%==============================================================================
\documentclass{ddis-thesis-EN}
% Include AMS extension for formulas
\usepackage{amssymb}
% Use PostScript fonts instead of LaTeX bitmap fonts (better for PDF)
\renewcommand{\rmdefault}{ppl}
% use Frutiger font
\renewcommand{\sfdefault}{pfr}
\renewcommand{\ttdefault}{pcr}
% Use advanced graphics inclusion and caption styles
\usepackage[pdftex]{ hyperref,bookmark,graphicx}
\usepackage{epstopdf}
\usepackage{caption}
\renewcommand{\captionlabelfont}{\sffamily\bfseries}
\renewcommand{\captionfont}{\sffamily}
% Use subfigure and change the numbering style for subfigures
\usepackage{subfigure}
\renewcommand{\thesubfigure}{\alph{subfigure}}
\makeatletter
\renewcommand{\@thesubfigure}{(\thesubfigure)\space}
\renewcommand{\p@subfigure}{\thefigure}
\makeatother
% Use color package and define background and frame color for text boxes
\usepackage[pdftex]{color}
% Use label replacement for postscript figures
\usepackage{psfrag}
% Use Changebar
\usepackage{changebar}
% Use url
\usepackage{url}
% Use longtable environment
\usepackage{longtable}
% break citations
\usepackage{apalike_brackets}
% include TOC extensions for all Indexes
\usepackage{tocbibind}
% Redefine the headers with the fancyhdr package
\usepackage{fancyhdr}
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{\markboth{\chaptername \ \thechapter.\ #1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
\fancyhf{}
\fancyhead[LE,RO]{{\sffamily{\bfseries\thepage}}}
\fancyhead[LO]{{\sffamily{\rightmark}}}
\fancyhead[RE]{{\sffamily{\leftmark}}}
\renewcommand{\headrulewidth}{0.5pt}
\renewcommand{\footrulewidth}{0pt}
\addtolength{\headheight}{0.5pt}
\fancypagestyle{plain}{
\fancyhead{}
\renewcommand{\headrulewidth}{0pt}
}
%configure listings package
\lstset{ captionpos=b}
% Clear Header Style on the Last Empty Odd pages
\makeatletter
\def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else%
\hbox{}%
\thispagestyle{empty}% % Empty header styles
\newpage%
\if@twocolumn\hbox{}\newpage\fi\fi\fi}
\makeatother
\setlength\textwidth{15cm}
\setlength\oddsidemargin{3.5cm}
\setlength\evensidemargin{2.5cm}
\renewcommand\bibname{Bibliography}
%==============================================================================
% Begin of document
%==============================================================================
\begin{document}
\frontmatter
\include{section-title/title}
\setlength{\hoffset}{-1in}
\fancyheadoffset[RO,LE]{2.5cm}
\fancyhfoffset{0in}
\include{section-acknowledgements/acknowledgements}
\include{section-abstract/abstract}
\include{section-abstract/zusammenfassung}
\tableofcontents
\mainmatter
% arabic numbering after this
\pagenumbering{arabic}
\include{section01-introduction/introduction}
\include{section02-motivation/chapter1}
\include{section03-gametree/chapter2}
\include{section04-opponentmodel/chapter3}
\include{section06-implementation/chapter4}
\include{section07-results/chapter5}
\include{section08-limitations/limitations}
%\include{section09-futurework/futurework}
\include{section10-conclusions/conclusions}
% Appendix
\begin{appendix}
\renewcommand{\chaptermark}[1]{\markboth{\appendixname \ \thechapter.\ #1}{}}
\include{section-appendix/appendix}
\end{appendix}
\listoffigures \listoftables
\lstlistoflistings \addcontentsline{toc}{chapter}{List of Listings}
% Bibliography
\bibliographystyle{apalike-url}
\bibliography{section-references/thesisbib}
\end{document}