1 \documentclass[twoside,a4paper,titlepage]{book}
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{todonotes} % Todo's
10 \usepackage{caption} % Captions
11 \usepackage{subcaption} % Subcaptions
12 \usepackage{listings} % source code
13 \usepackage{float} % floating images
14 \usepackage{lmodern} % Better teletype fonts
15 \usepackage{textcomp} % Nice listings quotes
16 \usepackage{pgf-umlsd} % Connection diagrams
17 \usepackage{graphicx} % Graphics
18 \usepackage{epstopdf} % Eps graphics
20 \usetikzlibrary{arrows,shadows}
26 pdftitle={iTasks and the Internet of Things},
27 pdfauthor={Mart Lubbers},
28 pdfsubject={iTasks and the Internet of Things},
29 pdfcreator={Mart Lubbers},
30 pdfproducer={Mart Lubbers},
31 pdfkeywords={TOP,iTasks,Clean,Function Programming,IoT},
35 \pdfstringdefDisableCommands{%
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,::},
52 morecomment=[n]{/*}{*/},
61 % Basic Clean constructs
63 {A.}{{$\forall\;\,$}}1
64 {E.}{{$\exists\;\,$}}1
71 % {->}{{$\rightarrow$}}2
72 % {<-}{{$\leftarrow$}}1
81 % {+++}{{$+\!\!\!\!+\!\!\!\!+$}}2
83 % {\{|*|\}}{{$\{\!|\!\!\star\!\!|\!\}$}}3
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
96 \newcommand{\CI}[1]{\lstinline[language=Clean,basicstyle=\ttfamily\fontseries{l}\normalsize]|#1|}
99 breakatwhitespace=false,
103 basicstyle=\ttfamily\fontseries{l}\footnotesize,
104 commentstyle=\itshape\fontseries{m},
105 keywordstyle=\bfseries\fontseries{b},
106 stringstyle=\ttfamily,
108 showstringspaces=false,
115 \title{iTasks and the Internet of Things}
116 \author{Mart Lubbers BSc.\\
117 {\small\href{mailto:mart@martlubbers.net}{mart@martlubbers.net}}}