updates
[phd-thesis.git] / preamble.tex
index ea67fd6..965fc41 100644 (file)
@@ -20,6 +20,7 @@
 \everymath{\it\/}
 \DeclareMathSymbol{\shortminus}{\mathbin}{AMSa}{"39} %chktex 18
 \newcommand{\dcolon}[0]{\mathbin{::}}
+\newcommand{\refreshrate}[2]{\langle{}#1, #2\rangle{}}
 
 % Internationalisation
 \usepackage[dutch,russian,british]{babel}
 
 % Code
 % Pseudocode
-\usepackage[algochapter]{algorithm2e}
+\usepackage[algochapter,linesnumbered,lined,boxed]{algorithm2e}
 % Fix the algorithm font
 \renewcommand\AlCapFnt{\normalfont}
 \usepackage{listings}
        tabsize=4,
        upquote=true,
        numberstyle=\tiny,
-       texcl=true;
 }
 \usepackage{lstlangclean}
 \usepackage{lstlanghaskell}
 \usepackage{nameref} % to reference names of chapters
 \newcommand{\fullref}[1]{\cref{#1}: \nameref{#1}}
 \newcommand{\Fullref}[1]{\Cref{#1}: \nameref{#1}}
+\creflabelformat{equation}{#2\textup{#1}#3}
 
 % Glossaries and acronyms
 \usepackage[nolangwarn,abbreviations,nonumberlist,prefix]{glossaries-extra}