diff options
author | John MacFarlane <jgm@berkeley.edu> | 2020-10-29 12:10:05 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2020-10-29 12:10:05 -0700 |
commit | bd7c9eb32be7c5499f4a50cb4b5f138f9eb919e8 (patch) | |
tree | 420c6c75fe95d425b3a0089e6e37e755e94dee5d /data/templates | |
parent | 517c55dae7a33a858f73609a90972f5da05dd1b1 (diff) | |
download | pandoc-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/templates')
-rw-r--r-- | data/templates/default.latex | 1 |
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 |