1 \documentclass[a4paper]{book}
3 \usepackage[british]{babel}
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
21 \usetikzlibrary{arrows,shadows}
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},
36 \pdfstringdefDisableCommands{%
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,::},
53 morecomment=[n]{/*}{*/},
62 % Basic Clean constructs
64 {A.}{{$\forall\;\,$}}1
65 {E.}{{$\exists\;\,$}}1
72 % {->}{{$\rightarrow$}}2
73 % {<-}{{$\leftarrow$}}1
82 % {+++}{{$+\!\!\!\!+\!\!\!\!+$}}2
84 % {\{|*|\}}{{$\{\!|\!\!\star\!\!|\!\}$}}3
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
97 \newcommand{\CI}[1]{\lstinline[language=Clean,basicstyle=\ttfamily\fontseries{l}\normalsize]|#1|}
100 breakatwhitespace=false,
104 basicstyle=\ttfamily\fontseries{l}\footnotesize,
105 commentstyle=\itshape\fontseries{m},
106 keywordstyle=\bfseries\fontseries{b},
107 stringstyle=\ttfamily,
109 showstringspaces=false,
116 \title{iTasks and the Internet of Things}
117 \author{Mart Lubbers BSc.\\
118 {\small\href{mailto:mart@martlubbers.net}{mart@martlubbers.net}}}