diff options
author | John MacFarlane <jgm@berkeley.edu> | 2011-07-10 09:13:10 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2011-07-10 12:33:45 -0700 |
commit | b5411c06aa5c4909cf10647e6ba0fe186cfa41f6 (patch) | |
tree | c80d98bab29dc1d66d38c22d3c46e1ae07ba962c /templates/latex.template | |
parent | 09479ba7b2ad2b39fe05af70ae88e5bfed913c8d (diff) | |
download | pandoc-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.template | 6 |
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} |