2020-05-29 10:22:56 +02:00
|
|
|
\usepackage{listings}
|
|
|
|
\lstset{
|
2020-05-29 11:20:01 +02:00
|
|
|
mathescape=false,
|
2020-05-29 10:22:56 +02:00
|
|
|
language=[Objective]{Caml},
|
|
|
|
basicstyle=\ttfamily,
|
|
|
|
extendedchars=true,
|
|
|
|
showstringspaces=false,
|
|
|
|
aboveskip=\smallskipamount,
|
2020-07-30 11:22:22 +02:00
|
|
|
belowskip=\smallskipamount,
|
2020-05-29 10:22:56 +02:00
|
|
|
columns=fullflexible,
|
|
|
|
moredelim=**[is][\color{blue}]{/*}{*/},
|
|
|
|
moredelim=**[is][\color{green!60!black}]{/!}{!/},
|
|
|
|
moredelim=**[is][\color{orange}]{/(}{)/},
|
|
|
|
moredelim=[is][\color{red}]{/[}{]/},
|
|
|
|
xleftmargin=1em,
|
|
|
|
}
|
|
|
|
\lstset{aboveskip=0.4ex,belowskip=0.4ex}
|