X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;ds=sidebyside;f=presentation.pre;h=5b966aed6bd5ea8c8fb348ce5895c1915345ec56;hb=20ea9da4247313e4ce6e3a385e2975424c62ebfe;hp=75f91e8bfff62659876f0933c88cf62efb2962dd;hpb=344f31641625e431714ee9e9f43b951aae5806bd;p=msc-thesis1617.git diff --git a/presentation.pre b/presentation.pre index 75f91e8..5b966ae 100644 --- a/presentation.pre +++ b/presentation.pre @@ -1,17 +1,84 @@ \documentclass{beamer} +\usepackage{listings} % Source code +\usepackage{subcaption} % Subcaptions +\usepackage{lmodern} % Better teletype fonts +\usepackage{textcomp} % Nice listings quotes +\usepackage[nodayofweek]{datetime} % Use a fixed document date + +% Beamer style +\usetheme{Singapore} +\usecolortheme{default} + +% Images directory \graphicspath{{img/}} +% Always have url in teletype \urlstyle{tt} -\author{Mart Lubbers BSc.\\ -{\small\href{mailto:mart@martlubbers.net}{mart@martlubbers.net}}\\ -~\\ -\textit{Supervisors:}\\ -prof.~dr.~dr.h.c.~ir.~M.J.~Plasmeijer\\ -dr.~P.W.M.~Koopman +% Setup pdf parameters +\hypersetup{% + pdftitle={Task Oriented Programming and the Internet of Things}, + pdfauthor={Mart Lubbers}, + pdfsubject={Task Oriented Programming and the Internet of Things}, + pdfcreator={Mart Lubbers}, + pdfproducer={Mart Lubbers}, + pdfkeywords={TOP,iTasks,Clean,Function Programming,IoT} +} +% Clean language spec for listings +\lstdefinelanguage{Clean}{% + alsoletter={ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_`1234567890}, + alsoletter={~!@\#$\%^\&*-+=?<>:|\\.}, + morekeywords={generic,implementation,definition,dynamic,module,import,from,where,in,of,case,let,infix,infixr,infixl,class,instance,with,if,derive,::}, + sensitive=true, + morecomment=[l]{//}, + morecomment=[n]{/*}{*/}, + morestring=[b]", + morestring=[b]', + emptylines=1, + basewidth=0.45em, + columns=[c]fixed, + texcl=true, + upquote=true, + literate=% + % Basic Clean constructs + {\\}{{$\lambda\:$}}1 + {A.}{{$\forall\;\,$}}1 + {E.}{{$\exists\;\,$}}1 + {*}{{$^*$}}1 +} + +% Handy shortcut for inline Clean code +\newcommand{\CI}[1]{\lstinline[language=Clean,basicstyle=\ttfamily\fontseries{l}\normalsize]|#1|} + +% General listings settings +\lstset{% + breakatwhitespace=false, + breaklines=true, + captionpos=b, + keepspaces=true, + basicstyle=\ttfamily\scriptsize, + commentstyle=\slshape\fontseries{m}, + keywordstyle=\bfseries\fontseries{b}, + stringstyle=\ttfamily, + showspaces=false, + showstringspaces=false, + showtabs=false, + tabsize=4, + frame=L +} + +\author[M. Lubbers]{ + Mart Lubbers BSc.\\[1em] + \small + \textit{Supervisor:}\\ + prof.~dr.~dr.h.c.~ir.~M.J.~Plasmeijer\\[1em] + \textit{Second reader:}\\ + dr.~P.W.M.~Koopman } \title{Task Oriented Programming and the Internet of Things} \subtitle{\sc Master's Thesis: Computing Science} -\date{\today} +\institute[Radboud University]{Radboud University Nijmegen} +\subject{Task Oriented Programming} +\date[2017]{\formatdate{10}{7}{2017}}