mangle titlepage
[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 \usepackage{todonotes} % Todo notes
19
20 \usetikzlibrary{arrows,shadows}
21
22 \graphicspath{{img/}}
23
24 \urlstyle{tt}
25 \hypersetup{%
26 pdftitle={Task Oriented Programming and the Internet of Things},
27 pdfauthor={Mart Lubbers},
28 pdfsubject={Task Oriented Programming and the Internet of Things},
29 pdfcreator={Mart Lubbers},
30 pdfproducer={Mart Lubbers},
31 pdfkeywords={TOP,iTasks,Clean,Function Programming,IoT},
32 hidelinks=true
33 }
34
35 \pdfstringdefDisableCommands{%
36 \def\acrlong#1{}%
37 \def\acrlongpl#1{}%
38 \def\acrshort#1{}%
39 \def\acrfull#1{}%
40 \def\gls#1{}%
41 \def\glspl#1{}%
42 \def\Gls#1{}%
43 \def\Glspl#1{}%
44 }
45
46 \lstdefinelanguage{Clean}{%
47 alsoletter={ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_`1234567890},
48 alsoletter={~!@\#$\%^\&*-+=?<>:|\\.},
49 morekeywords={generic,implementation,definition,dynamic,module,import,from,where,in,of,case,let,infix,infixr,infixl,class,instance,with,if,derive,::},
50 sensitive=true,
51 morecomment=[l]{//},
52 morecomment=[n]{/*}{*/},
53 morestring=[b]",
54 morestring=[b]',
55 emptylines=1,
56 basewidth=0.45em,
57 columns=[c]fixed,
58 texcl=true,
59 upquote=true,
60 literate=%
61 % Basic Clean constructs
62 {\\}{{$\lambda\:$}}1
63 {A.}{{$\forall\;\,$}}1
64 {E.}{{$\exists\;\,$}}1
65 {*}{{$^*$}}1
66 % {>}{{$>$}}1
67 % {<}{{$<$}}1
68 % {<=}{{$\leq$}}1
69 % {>=}{{$\geq$}}1
70 % {<>}{{$\neq$}}1
71 % {->}{{$\rightarrow$}}2
72 % {<-}{{$\leftarrow$}}1
73 % {=}{{$=$}}1
74 % {~}{{$\sim$}}1
75 % {\#}{{$\sharp$}}1
76 % {\{|}{{$\{\!|\!$}}1
77 % {|\}}{{$\!|\!\}$}}1
78 % {:=}{{$:=$}}2
79 % {==}{{$==$}}2
80 % {++}{{$+\!\!+$}}2
81 % {+++}{{$+\!\!\!\!+\!\!\!\!+$}}2
82 % {:==}{{$:==$}}3
83 % {\{|*|\}}{{$\{\!|\!\!\star\!\!|\!\}$}}3
84 %
85 % Basic iTask constructs
86 % {>||>}{{$\triangleright\triangleright$}}2
87 % {>>=}{{\texttt{>>=}}}3
88 % {>>|}{{\texttt{>>|}}}3
89 % {?>>}{{\texttt{?>>}}}3
90 % {!>>}{{\texttt{!>>}}}3
91 % {-||-}{{\texttt{-||-}}}4
92 % {.||.}{{\texttt{.||.}}}4
93 % {.&&.}{{\texttt{.\&\&.}}}4
94 }
95
96 \newcommand{\CI}[1]{\lstinline[language=Clean,basicstyle=\ttfamily\fontseries{l}\normalsize]|#1|}
97
98 \lstset{%
99 breakatwhitespace=false,
100 breaklines=true,
101 captionpos=b,
102 keepspaces=true,
103 basicstyle=\ttfamily\fontseries{l}\footnotesize,
104 commentstyle=\itshape\fontseries{m},
105 keywordstyle=\bfseries\fontseries{b},
106 stringstyle=\ttfamily,
107 showspaces=false,
108 showstringspaces=false,
109 showtabs=false,
110 tabsize=4,
111 frame=L,
112 language=Clean
113 }
114
115 \title{Task Oriented Programming and the Internet of Things}
116 \author{Mart Lubbers BSc.\\
117 {\small\href{mailto:mart@martlubbers.net}{mart@martlubbers.net}}}
118 \date{\today}