diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/LaTeX.template | 9 |
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} |