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