X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=thesis.pre;h=9ec3c0af62f278d300b0b4a49dd8e7a2dce9d046;hb=dc057560c806a535088e1d9ebdbdd0737467ecc3;hp=e41516c9ed1ed523e7cfa7360d6234efd3eaa14d;hpb=4ac8ff3216dd921df44fbed2ba7d4ad01ff7033d;p=msc-thesis1617.git diff --git a/thesis.pre b/thesis.pre index e41516c..9ec3c0a 100644 --- a/thesis.pre +++ b/thesis.pre @@ -12,6 +12,9 @@ \usepackage{subcaption} % Subcaptions \usepackage{lipsum} % dummy text \usepackage{listings} % source code +\usepackage{float} % floating images + +\graphicspath{{img/}} \urlstyle{same} \hypersetup{% @@ -24,6 +27,16 @@ hidelinks=true } +\pdfstringdefDisableCommands{% + \def\acrlong#1{}% + \def\acrshort#1{}% + \def\acrfull#1{}% + \def\gls#1{}% + \def\glspl#1{}% + \def\Gls#1{}% + \def\Glspl#1{}% +} + \lstdefinelanguage{Clean}{% alsoletter={ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_`1234567890}, alsoletter={~!@\#$\%^\&*-+=?<>:|\\.}, @@ -72,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