LateX: Instead of having multiple imports of listings, combine to one.
This commit is contained in:
parent
ac3ddfed96
commit
0d116481c0
1 changed files with 3 additions and 4 deletions
|
@ -22,8 +22,10 @@ $if(biblio-files)$
|
|||
\bibliography{$biblio-files$}
|
||||
$endif$
|
||||
$endif$
|
||||
$if(lhs)$
|
||||
$if(listings)$
|
||||
\usepackage{listings}
|
||||
$endif$
|
||||
$if(lhs)$
|
||||
\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{}
|
||||
$endif$
|
||||
$if(highlighting-macros)$
|
||||
|
@ -79,9 +81,6 @@ $endif$
|
|||
\setlength{\parindent}{0pt}
|
||||
\setlength{\parskip}{6pt plus 2pt minus 1pt}
|
||||
\setlength{\emergencystretch}{3em} % prevent overfull lines
|
||||
$if(listings)$
|
||||
\usepackage{listings}
|
||||
$endif$
|
||||
$if(numbersections)$
|
||||
$else$
|
||||
\setcounter{secnumdepth}{0}
|
||||
|
|
Loading…
Add table
Reference in a new issue