aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJosef Svenningsson <josef.svenningsson@gmail.com>2011-01-17 23:54:51 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2011-01-28 21:09:38 -0800
commitd8d0f46c4c3f247963038450f1e649a00a0ba9d9 (patch)
treeb8323fee1fddaca071e24401fc7fb51774b30f74 /templates
parente2a5038be681f8610b3cc3621cbf66647de14322 (diff)
downloadpandoc-d8d0f46c4c3f247963038450f1e649a00a0ba9d9.tar.gz
Add possibility to use listings package for code blocks and
inline code in the LaTeX writer.
Diffstat (limited to 'templates')
-rw-r--r--templates/latex.template3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/latex.template b/templates/latex.template
index 8d21cf215..40de32109 100644
--- a/templates/latex.template
+++ b/templates/latex.template
@@ -71,6 +71,9 @@ $endif$
\usepackage[breaklinks=true,unicode=true,pdfborder={0 0 0}]{hyperref}
\setlength{\parindent}{0pt}
\setlength{\parskip}{6pt plus 2pt minus 1pt}
+$if(listings)$
+\usepackage{listings}
+$endif$
$if(numbersections)$
$else$
\setcounter{secnumdepth}{0}