summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2009-12-31 01:09:43 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2009-12-31 01:09:43 +0000
commit4b0e39fd029b6a110a2828e9dcfdcef51bfe22a8 (patch)
treef28b3e294b80dc58e0e32f92276f8be5f8f36639 /data
parent0d8fc82a8c0e9ed9f439452ddd439d768812e3b5 (diff)
Add legacy-header to LaTeX template.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1680 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'data')
-rw-r--r--data/templates/LaTeX.template9
1 files changed, 7 insertions, 2 deletions
diff --git a/data/templates/LaTeX.template b/data/templates/LaTeX.template
index 4a4c8436c..7c235f8e4 100644
--- a/data/templates/LaTeX.template
+++ b/data/templates/LaTeX.template
@@ -1,3 +1,6 @@
+$if(legacy-header)$
+$legacy-header$
+$else$
\documentclass{article}
\usepackage{ifpdf,ifxetex}
\ifxetex
@@ -9,6 +12,9 @@
\usepackage{amsmath}
\usepackage{listings}
\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{}
+\setlength{\parindent}{0pt}
+\setlength{\parskip}{6pt plus 2pt minus 1pt}
+$endif$
\usepackage{fancyvrb}
\usepackage{enumerate}
\usepackage{array}
@@ -21,9 +27,8 @@
\usepackage{url}
\usepackage{graphicx}
-\setlength{\parindent}{0pt}
-\setlength{\parskip}{6pt plus 2pt minus 1pt}
\VerbatimFootnotes % allows verbatim text in footnotes
+
$if(numbersections)$
$else$
\setcounter{secnumdepth}{0}