fix brackets, check floats and widows in chp 1-3
[phd-thesis.git] / preamble / commands.tex
index 67b5632..0d31e63 100644 (file)
@@ -4,14 +4,14 @@
 \newcommand{\dcolon}[0]{\mathbin{::}}
 \newcommand{\doifmt}[1]{\href{https://doi.org/#1}{#1}}
 \newcommand{\etc}{{\fontfamily{cmr}\selectfont{\itshape\/\&\kern-0.2em c}}}
-\newcommand{\jsinger}{Singer, dr.\ J.\ (University of Glasgow)}
+\newcommand{\jsinger}{Singer, J.\ (University of Glasgow)}
 \newcommand{\mlubbers}{Lubbers, M.\ (Radboud University)}
-\newcommand{\pkoopman}{Koopman, dr.\ P.\ (Radboud University)}
-\newcommand{\ptrinder}{Trinder, prof.~dr.\ P.\ (University of Glasgow)}
+\newcommand{\pkoopman}{Koopman, P.\ (Radboud University)}
+\newcommand{\ptrinder}{Trinder, P.\ (University of Glasgow)}
+\newcommand{\rplasmeijer}{Plasmeijer, R.\ (Radboud University)}
 \newcommand{\rdmentry}[5]{#1 (#2): #3. #4.\ \doifmt{#5}}
 \newcommand{\rewriterate}[2]{\langle{}\mathit{#1}, \mathit{#2}\rangle{}}
 \newcommand{\requiresGHCmod}[2][]{\footnote{Requires \GHCmod{#2} to be enabled. #1}}
-\newcommand{\rplasmeijer}{Plasmeijer, prof.\ dr.\ ir.\ R.\ (Radboud University)}
 \newcommand{\erasmusplus}{ERASMUS\raisebox{.25ex}{+}}
 \newcommand{\imtask}{\gls{ITASK}\slash\gls{MTASK}}
 \newcommand{\citask}{\gls{CLEAN}\slash\gls{ITASK}}
 \newcommand{\Ccpp}{\texorpdfstring{\Gls{C}\slash\gls{CPP}}{C\slash{}C\texttt{++}}}
 \newcommand{\stacksize}[1]{\parallel#1\parallel}
 
-\makeatletter
-\newenvironment{compilationscheme}
-       {\allowdisplaybreaks\startalign}
-       {\endalign}
-\makeatother
+\newcommand{\cschemeE}[2]{\mathcal{E}\llbracket#1\rrbracket~#2}
+\newcommand{\cschemeF}[1]{\mathcal{F}\llbracket#1\rrbracket}
+\newcommand{\cschemeS}[3]{\mathcal{S}\llbracket#1\rrbracket~#2~#3}
+
+\newcommand{\IOT}{\texorpdfstring{Io\kern-1ptT}{IoT}}
+\newcommand{\IIC}{I\textsuperscript{2}C}
+\newcommand{\conference}[1]{\emph{#1}}
+\newcommand{\tfp}{\conference{International Symposium on Trends in Functional Programming (TFP)}}
+\newcommand{\ifl}{\conference{Symposium on Implementation and Application of Functional Languages (IFL)}}
+\newcommand{\rwdsl}{\conference{International Workshop on Real World Domain Specific Languages (RWDSL)}}
+\newcommand{\fcows}{\conference{COnference on COmposability, COmprehensibility and COrrectness of Working Software (4COWS)}}
+\newcommand{\tiot}{\conference{ACM Transactions on Internet of Things (T\IOT{})}}
+\newcommand{\iotconf}{\conference{International Conference on the Internet of Things (\IOT{})}}