aboutsummaryrefslogtreecommitdiff
path: root/templates/latex.template
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2011-07-10 09:13:10 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2011-07-10 12:33:45 -0700
commitb5411c06aa5c4909cf10647e6ba0fe186cfa41f6 (patch)
treec80d98bab29dc1d66d38c22d3c46e1ae07ba962c /templates/latex.template
parent09479ba7b2ad2b39fe05af70ae88e5bfed913c8d (diff)
downloadpandoc-b5411c06aa5c4909cf10647e6ba0fe186cfa41f6.tar.gz
Improved LaTeX tables.
* Use ctable package, which allows footnotes and provides additional options. * Made cell alignments work in multiline tables. * Closes #272.
Diffstat (limited to 'templates/latex.template')
-rw-r--r--templates/latex.template6
1 files changed, 2 insertions, 4 deletions
diff --git a/templates/latex.template b/templates/latex.template
index 40de32109..8142fb986 100644
--- a/templates/latex.template
+++ b/templates/latex.template
@@ -40,10 +40,8 @@ $if(fancy-enums)$
\usepackage{enumerate}
$endif$
$if(tables)$
-\usepackage{array}
-% This is needed because raggedright in table elements redefines \\:
-\newcommand{\PreserveBackslash}[1]{\let\temp=\\#1\let\\=\temp}
-\let\PBS=\PreserveBackslash
+\usepackage{ctable}
+\usepackage{float} % provides the H option for float placement
$endif$
$if(strikeout)$
\usepackage[normalem]{ulem}