aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-10-29 12:10:05 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2020-10-29 12:10:05 -0700
commitbd7c9eb32be7c5499f4a50cb4b5f138f9eb919e8 (patch)
tree420c6c75fe95d425b3a0089e6e37e755e94dee5d /data
parent517c55dae7a33a858f73609a90972f5da05dd1b1 (diff)
downloadpandoc-bd7c9eb32be7c5499f4a50cb4b5f138f9eb919e8.tar.gz
LaTeX writer: Improved calculation of table column widths.
We now have LaTeX do the calculation, using `\tabcolsep`. So we should now have accurate relative column widths no matter what the text width. The default template has been modified to load the calc package if tables are used.
Diffstat (limited to 'data')
-rw-r--r--data/templates/default.latex1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/templates/default.latex b/data/templates/default.latex
index 80f6a7feb..4cac0a7cc 100644
--- a/data/templates/default.latex
+++ b/data/templates/default.latex
@@ -257,6 +257,7 @@ $highlighting-macros$
$endif$
$if(tables)$
\usepackage{longtable,booktabs}
+\usepackage{calc} % for calculating minipage widths
$if(beamer)$
\usepackage{caption}
% Make caption package work with longtable