-
Notifications
You must be signed in to change notification settings - Fork 0
/
preamble.tex
216 lines (196 loc) · 7.17 KB
/
preamble.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
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
214
215
216
%!TEX root = thesis.tex
% **************************************************
% Debug LaTeX Information
% **************************************************
%\listfiles
% **************************************************
% Information and Commands for Reuse
% **************************************************
\newcommand{\thesisTitle}{ Actors at Work }
\newcommand{\thesisName}{Behrooz Nobakht}
\newcommand{\thesisSubject}{Actors at Work}
\newcommand{\thesisDate}{October, 2016}
\newcommand{\thesisVersion}{v1.0}
\newcommand{\thesisFirstReviewer}{Frank S. de Boer}
\newcommand{\thesisFirstReviewerUniversity}{\protect{Leiden University}}
\newcommand{\thesisFirstReviewerDepartment}{Leiden Institute of Advanced Computer Science}
\newcommand{\thesisSecondReviewer}{Stijn de Gouw}
\newcommand{\thesisSecondReviewerUniversity}{\protect{Leiden University}}
\newcommand{\thesisSecondReviewerDepartment}{Leiden Institute of Advanced Computer Science}
\newcommand{\thesisFirstSupervisor}{Frank S. de Boer}
\newcommand{\thesisSecondSupervisor}{}
\newcommand{\thesisUniversity}{\protect{Leiden University}}
\newcommand{\thesisUniversityDepartment}{Faculty of Science}
\newcommand{\thesisUniversityInstitute}{Leiden Institute of Advanced Computer Science}
\newcommand{\thesisUniversityGroup}{}
\newcommand{\thesisUniversityCity}{Leiden}
\newcommand{\thesisUniversityStreetAddress}{Niels Bohrweg 1}
\newcommand{\thesisUniversityPostalCode}{2333 CA}
% **************************************************
% Load and Configure Packages
% **************************************************
\usepackage[utf8]{inputenc} % defines file's character encoding
\usepackage[english]{babel} % babel system, adjust the language of the content
\usepackage[ % clean thesis style
figuresep=colon,%
sansserif=false,%
hangfigurecaption=false,%
hangsection=true,%
hangsubsection=true,%
colorize=bw,%
colortheme=bluemagenta,%
bibsys=biber,%
bibfile=refs/refs.bib,%
bibstyle=numeric,%
]{cleanthesis}
\hypersetup{ % setup the hyperref-package options
pdftitle={\thesisTitle}, % - title (PDF meta)
pdfsubject={\thesisSubject},% - subject (PDF meta)
pdfauthor={\thesisName}, % - author (PDF meta)
plainpages=false, % -
colorlinks=false, % - colorize links?
pdfborder={0 0 0}, % -
breaklinks=true, % - allow line break inside links
bookmarksnumbered=true, %
bookmarksopen=true %
}
% Keep these in aL_Phabetical order
\usepackage{algorithm}
% \usepackage{algorithmic}
\usepackage{alltt}
\usepackage{algpseudocode}
\usepackage{amsfonts}
\usepackage{amsmath}
\let\proof\relax
\let\endproof\relax
\usepackage{amsthm}
\usepackage{amssymb}
\usepackage{bookmark}
\usepackage{booktabs}
\usepackage[singlelinecheck=true]{caption}
% \DeclareCaptionType{copyrightbox}
% \usepackage[usenames,dvipsnames]{color}
% \usepackage{colortbl}
% \usepackage[Sonny]{fncychap}
\usepackage{enumitem}
\usepackage{epstopdf}
\usepackage[gen]{eurosym}
\usepackage{framed}
% \usepackage[pdftex]{graphicx}
% should be after graphics
\usepackage{footnote}
\makesavenoteenv{tabular}
\makesavenoteenv{table}
% \usepackage[bookmarks=true, colorlinks=true, linkcolor=black, citecolor=black, urlcolor=black, bookmarksdepth=2]{hyperref}
\usepackage{gitinfo2}
\usepackage{graphics}
\usepackage{import}
% \usepackage{listing}
\usepackage{listings}
\usepackage{makeidx}
\usepackage{mathtools}
\usepackage{minted}
\usepackage{multicol}
\usepackage{pdfpages}
\usepackage{pgf}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\usepackage{pifont}
% \usepackage{sectsty}
\usepackage{setspace}
\usepackage{soul}
\usepackage{subcaption}
\usepackage{tikz}
\usetikzlibrary{arrows,automata}
% \usepackage{titlesec}
% \usepackage{tocloft}
\usepackage[nottoc,notbib]{tocbibind}
\usepackage{url}
\usepackage{wrapfig}
% \usepackage{xcolor}
\usepackage{xspace}
\usepackage{amssymb,amsmath,amsthm, mathtools}
\usepackage{pdfpages}
% Commands
\newcommand{\Crisp}{{$\mathcal{C}$risp}\xspace}
\newcommand{\MethodInvocation}{{\ftt{Meth\-od\-In\-vo\-ca\-tion}}\xspace}
\newcommand{\thickhline}{\noalign{\hrule height 1.0pt}}
\newcommand{\superscript}[1]{\ensuremath{^{\textrm{#1}}}}
\newcommand{\subscript}[1]{\ensuremath{_{\textrm{#1}}}}
\newcommand{\ftt}[1]{{\footnotesize\texttt{#1}}}
\newcommand{\jtt}[1]{{\scriptsize\texttt{#1}}}
\newcommand{\bfjtt}[1]{\textbf{\scriptsize\texttt{#1}}}
\newcommand{\textsfb}[1]{\textbf{\textsf{#1}}}
\newcommand{\parbf}[1]{\noindent\parskip2pt\newline\textbf{#1}}
\newcommand{\surl}[1]{{\footnotesize\url{#1}}}
\newcommand{\this}{\mbox{\rm this}}
\newcommand{\Var}{\mbox{\it Var}}
\newcommand{\Val}{\mbox{\it Val}}
\newcommand{\ESA}{\jtt{Executor\-Service\-Actor} }
\newcommand{\qps}{\textsf{QPS}\xspace}
\newcommand{\frhcsp}{Fredhopper Cloud Services\xspace}
\newcommand{\smalltt}[1]{{\small\texttt{#1}}}
% 2013 paper
\newcommand{\gett}{{\textnormal{\textbf{\jtt{get}}}}}
\newcommand{\trycatch}[4]{\jtt{try}\{ #1 \}\jtt{catch}(\jtt{#2} \; #3)\{#4\}}
% LLNCS
\newcommand{\keywords}[1]{\par\addvspace\baselineskip\noindent\keywordname\enspace\ignorespaces#1}
\newcommand{\Behrooz}[1]{{\color{blue}{\sffamily Behrooz: \textit{#1}\newline}}}
\theoremstyle{definition}
\newtheorem{assm}{Assumption}
\newtheorem{defn}{Definition}
\newtheorem{thm}{Theorem}
\newtheorem{rul}{Rule}
\newtheorem{exmp}{Example}
\newtheorem{corl}{Corollary}
% Chapter Authors
\makeatletter
\newcommand{\chapterauthor}[1]{%
{\parindent0pt\vspace*{-25pt}%
\linespread{1.1}\slshape#1%
\par\nobreak\vspace*{35pt}}
\@afterheading%
}
\makeatother
\lstdefinelanguage{Creol}{
morekeywords={class,extends, implements, interface, false,for,if, then, else, priority,
new,null,return,this,true,var,while,with,yield,begin,end,await,op, scheduling, policy,
sender,foreach,empty,in,skip,random,def,try,catch,do,deadline,get,super,boolean,scheduler},
otherkeywords={==}, %=>,<-,<\%,<:,>:,\#,@,:=},
sensitive=true,
morecomment=[l]{//},
morecomment=[n]{/*}{*/},
morestring=[b]",
morestring=[b]',
morestring=[b]""",
literate={/=}{{$\not =$}}1
}
\lstdefinelanguage{abs}{keywords=
{dyndelta,new,data,type,def,case,of,cog,class,interface,extends,implements,if,else,await,get,Fut,return,skip,while,module, import, export, from, suspend, delta,adds,modifies,removes,original,productline,features,core,corefeatures,optionalfeatures,after,when,product,hasAttribute,hasMethod,root,extension,group,allof,oneof,require,exclude,original,ifin,ifout,opt}, sensitive=true, comment=[l]{//},
morecomment=[s]{/*}{*/},
morestring=[b]"}
% Monospace fonts and code listings
% \usepackage[T1]{fontenc}
% \usepackage{textcomp}
% \usepackage{luximono}
\lstset{
basicstyle=\scriptsize\ttfamily,
numbers=left,
numberstyle=\scriptsize,
numbersep=5pt,
tabsize=2,
extendedchars=true,
breaklines=true,
showspaces=false,
showtabs=false,
xleftmargin=17pt,
xrightmargin=6pt,
framexleftmargin=17pt,
framexrightmargin=5pt,
framexbottommargin=4pt,
showstringspaces=false
keywordstyle=\color[rgb]{0,0,1},
commentstyle=\color[rgb]{0.133,0.545,0.133},
stringstyle=\color[rgb]{0.627,0.126,0.941},
numberbychapter=false
}