git.iko.soy/typeable/pandoc
on master help sign in
LateX: Instead of having multiple imports of listings, combine to one.
commit0d116481c0902181c6b90827a0451570a133de39 authorJohn MacFarlane <fiddlosopher@gmail.com> dateFri 23 Dec 2011, 18:23 (15 years ago) parentac3ddfe
1 file changed+3−4
default.latex+3−4
default.latex+3−4
@@ -22,8 +22,10 @@ $if(biblio-files)$
2222\bibliography{$biblio-files$}
2323$endif$
2424$endif$
25−$if(lhs)$
25+$if(listings)$
2626\usepackage{listings}
27+$endif$
28+$if(lhs)$
2729\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{}
2830$endif$
2931$if(highlighting-macros)$
@@ -79,9 +81,6 @@ $endif$
7981\setlength{\parindent}{0pt}
8082\setlength{\parskip}{6pt plus 2pt minus 1pt}
8183\setlength{\emergencystretch}{3em} % prevent overfull lines
82−$if(listings)$
83−\usepackage{listings}
84−$endif$
8584$if(numbersections)$
8685$else$
8786\setcounter{secnumdepth}{0}