diff options
author | Josef Svenningsson <josef.svenningsson@gmail.com> | 2011-01-17 23:54:51 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2011-01-28 21:09:38 -0800 |
commit | d8d0f46c4c3f247963038450f1e649a00a0ba9d9 (patch) | |
tree | b8323fee1fddaca071e24401fc7fb51774b30f74 /templates | |
parent | e2a5038be681f8610b3cc3621cbf66647de14322 (diff) | |
download | pandoc-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.template | 3 |
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} |