wollanup
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
0 deletions
-
eisvogel.tex
|
|
@ -259,6 +259,11 @@ $if(listings)$ |
|
|
|
\usepackage{listings} |
|
|
|
\newcommand{\passthrough}[1]{#1} |
|
|
|
$endif$ |
|
|
|
$if(listings-no-page-break)$ |
|
|
|
\usepackage{etoolbox} |
|
|
|
\BeforeBeginEnvironment{lstlisting}{\par\noindent\begin{minipage}{\linewidth}} |
|
|
|
\AfterEndEnvironment{lstlisting}{\end{minipage}\par\addvspace{\topskip}} |
|
|
|
$endif$ |
|
|
|
$if(lhs)$ |
|
|
|
\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{} |
|
|
|
$endif$ |
|
|
|