aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2008-12-02 22:43:02 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2008-12-02 22:43:02 +0000
commit22741eb8e83f81116375ab69a4db6da61daf7e7e (patch)
tree75df6e3563d2c9a199172899386db1a4f5da35bf
parent67508f986f310e83f2180fe08182fc4b8d0a5556 (diff)
downloadpandoc-22741eb8e83f81116375ab69a4db6da61daf7e7e.tar.gz
Add definition of code environment to LaTeX header.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1505 788f1e2b-df1e-0410-8736-df70ead52e1b
-rw-r--r--data/headers/LaTeX.header2
1 files changed, 2 insertions, 0 deletions
diff --git a/data/headers/LaTeX.header b/data/headers/LaTeX.header
index a6729cf2d..30e182dc3 100644
--- a/data/headers/LaTeX.header
+++ b/data/headers/LaTeX.header
@@ -2,5 +2,7 @@
\usepackage{amsmath}
\usepackage[mathletters]{ucs}
\usepackage[utf8x]{inputenc}
+\usepackage{listings}
+\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small}}{}
\setlength{\parindent}{0pt}
\setlength{\parskip}{6pt plus 2pt minus 1pt}