update listing, polish arch, dsl and top
[msc-thesis1617.git] / thesis.pre
index ef1cc96..bb610fb 100644 (file)
@@ -12,6 +12,9 @@
 \usepackage{subcaption}              % Subcaptions
 \usepackage{lipsum}                  % dummy text
 \usepackage{listings}                % source code
+\usepackage{float}                   % floating images
+
+\graphicspath{{img/}}
 
 \urlstyle{same}
 \hypersetup{%
@@ -23,6 +26,7 @@
        pdfkeywords={TOP,iTasks,Clean,Function Programming,IoT},
        hidelinks=true
 }
+
 \pdfstringdefDisableCommands{%
        \def\acrlong#1{}%
        \def\acrshort#1{}%
@@ -81,6 +85,8 @@
                {.&&.}{{\texttt{.\&\&.}}}4
 }
 
+\newcommand{\CI}[1]{\lstinline[language=Clean]|#1|}
+
 \lstset{%
        breakatwhitespace=false,         % sets if automatic breaks should only happen at whitespace
        breaklines=true,                 % sets automatic line breaking
        commentstyle=\itshape,           % comment style
        keywordstyle=\bfseries,          % keyword style
        stringstyle=\ttfamily,           % string literal style
-       language=Clean,                  % the language of the code
        showspaces=false,                % show spaces everywhere adding particular underscores; it overrides 'showstringspaces'
        showstringspaces=false,          % underline spaces within strings only
        showtabs=false,                  % show tabs within strings adding particular underscores
-       tabsize=4                            % sets default tabsize to 2 spaces
+       tabsize=4,                       % sets default tabsize to 2 spaces
+       frame=L
 }
 
 \title{iTasks and the Internet of Things}