wtfunctional/tex/headers/listings.tex
Oliver Rümpelein 7657c1a493 First draft of talk:
* Dafunc? concetpually almost ready
 * Started haskell introduction
2016-04-20 12:26:05 +02:00

49 lines
823 B
TeX

\ProvidesFile{listings}[Configure listings with minted]
% Fix backticks
\usepackage{upquote}
\usepackage[section, cache=true,]{minted}
\newminted[ccode]{c}%
{
linenos=true,
autogobble=true,
breaklines=true,
showspaces=false,
showtabs=false,
tabsize=2,
frame=single,
fontsize=\small,
}
\newminted[cppcode]{cpp}%
{
linenos=true,
autogobble=true,
breaklines=true,
showspaces=false,
showtabs=false,
tabsize=2,
frame=single,
fontsize=\small,
}
\newminted[haskell]{haskell}
{
linenos=true,
autogobble=true,
breaklines=true,
showspaces=false,
showtabs=false,
tabsize=2,
frame=single,
fontsize=\small,
}
\newmintinline[ccmd]{c}{}
\newmintinline[cppcmd]{cpp}{}
\newmintinline[haskellcmd]{haskell}{}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "../linux-script"
%%% End: