removed todo, the end is near
[msc-thesis1617.git] / thesis.pre
1 \documentclass[twoside,a4paper,titlepage]{book}
2
3
4 \usepackage{geometry} % Papersize
5 \usepackage[british]{babel} % Internationalization
6 \usepackage[titletoc]{appendix} % Appendices
7 \usepackage{hyperref} % Hyperlinks
8 \usepackage{booktabs} % Better looking tables
9 \usepackage{caption} % Captions
10 \usepackage{subcaption} % Subcaptions
11 \usepackage{listings} % source code
12 \usepackage{float} % floating images
13 \usepackage{lmodern} % Better teletype fonts
14 \usepackage{textcomp} % Nice listings quotes
15 \usepackage{pgf-umlsd} % Connection diagrams
16 \usepackage{graphicx} % Graphics
17 \usepackage{epstopdf} % Eps graphics
18
19 \usetikzlibrary{arrows,shadows}
20
21 \graphicspath{{img/}}
22
23 \urlstyle{tt}
24 \hypersetup{%
25 pdftitle={iTasks and the Internet of Things},
26 pdfauthor={Mart Lubbers},
27 pdfsubject={iTasks and the Internet of Things},
28 pdfcreator={Mart Lubbers},
29 pdfproducer={Mart Lubbers},
30 pdfkeywords={TOP,iTasks,Clean,Function Programming,IoT},
31 hidelinks=true
32 }
33
34 \pdfstringdefDisableCommands{%
35 \def\acrlong#1{}%
36 \def\acrlongpl#1{}%
37 \def\acrshort#1{}%
38 \def\acrfull#1{}%
39 \def\gls#1{}%
40 \def\glspl#1{}%
41 \def\Gls#1{}%
42 \def\Glspl#1{}%
43 }
44
45 \lstdefinelanguage{Clean}{%
46 alsoletter={ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_`1234567890},
47 alsoletter={~!@\#$\%^\&*-+=?<>:|\\.},
48 morekeywords={generic,implementation,definition,dynamic,module,import,from,where,in,of,case,let,infix,infixr,infixl,class,instance,with,if,derive,::},
49 sensitive=true,
50 morecomment=[l]{//},
51 morecomment=[n]{/*}{*/},
52 morestring=[b]",
53 morestring=[b]',
54 emptylines=1,
55 basewidth=0.45em,
56 columns=[c]fixed,
57 texcl=true,
58 upquote=true,
59 literate=%
60 % Basic Clean constructs
61 {\\}{{$\lambda\:$}}1
62 {A.}{{$\forall\;\,$}}1
63 {E.}{{$\exists\;\,$}}1
64 {*}{{$^*$}}1
65 % {>}{{$>$}}1
66 % {<}{{$<$}}1
67 % {<=}{{$\leq$}}1
68 % {>=}{{$\geq$}}1
69 % {<>}{{$\neq$}}1
70 % {->}{{$\rightarrow$}}2
71 % {<-}{{$\leftarrow$}}1
72 % {=}{{$=$}}1
73 % {~}{{$\sim$}}1
74 % {\#}{{$\sharp$}}1
75 % {\{|}{{$\{\!|\!$}}1
76 % {|\}}{{$\!|\!\}$}}1
77 % {:=}{{$:=$}}2
78 % {==}{{$==$}}2
79 % {++}{{$+\!\!+$}}2
80 % {+++}{{$+\!\!\!\!+\!\!\!\!+$}}2
81 % {:==}{{$:==$}}3
82 % {\{|*|\}}{{$\{\!|\!\!\star\!\!|\!\}$}}3
83 %
84 % Basic iTask constructs
85 % {>||>}{{$\triangleright\triangleright$}}2
86 % {>>=}{{\texttt{>>=}}}3
87 % {>>|}{{\texttt{>>|}}}3
88 % {?>>}{{\texttt{?>>}}}3
89 % {!>>}{{\texttt{!>>}}}3
90 % {-||-}{{\texttt{-||-}}}4
91 % {.||.}{{\texttt{.||.}}}4
92 % {.&&.}{{\texttt{.\&\&.}}}4
93 }
94
95 \newcommand{\CI}[1]{\lstinline[language=Clean,basicstyle=\ttfamily\fontseries{l}\normalsize]|#1|}
96
97 \lstset{%
98 breakatwhitespace=false,
99 breaklines=true,
100 captionpos=b,
101 keepspaces=true,
102 basicstyle=\ttfamily\fontseries{l}\footnotesize,
103 commentstyle=\itshape\fontseries{m},
104 keywordstyle=\bfseries\fontseries{b},
105 stringstyle=\ttfamily,
106 showspaces=false,
107 showstringspaces=false,
108 showtabs=false,
109 tabsize=4,
110 frame=L,
111 language=Clean
112 }
113
114 \title{iTasks and the Internet of Things}
115 \author{Mart Lubbers BSc.\\
116 {\small\href{mailto:mart@martlubbers.net}{mart@martlubbers.net}}}
117 \date{\today}