aboutsummaryrefslogtreecommitdiff
path: root/test/tables.latex
AgeCommit message (Collapse)AuthorFilesLines
2021-08-03LaTeX table writer: Increase column width precision (#7466)Peter Fabinski1-12/+12
In some cases, the rounding performed by the LaTeX table writer would introduce visible overrun outside the text area. This adds two more decimal places to the width values.
2021-06-05LaTeX writer: Fix regression in table header position.John MacFarlane1-3/+27
In recent versions the table headers were no longer bottom-aligned (if more than one line). This patch fixes that by using minipages for table headers in non-simple tables. Closes #7347.
2021-01-02LaTeX writer: revert table line height increase in 2.11.3.John MacFarlane1-35/+26
In 2.11.3 we started adding `\addlinespace`, which produced less dense tables. This wasn't an intentional change; I misunderstood a comment in the discussion leading up to the change. This commit restores the earlier default table appearance. Note that if you want a less dense table, you can use something like `\def\arraystretch{1.5}` in your header. Closes #6996.
2020-11-25Update tests for LaTeX table changes.John MacFarlane1-111/+33
2020-11-25LaTeX tables: Fix calculation of column spacing.John MacFarlane1-36/+36
See #6883.
2020-11-22LaTeX writer: Improve table spacing.John MacFarlane1-62/+62
+ Remove the `\strut` that was added at the end of minipage environments in cells. + Replace `\tabularnewline` with `\\ \addlinespace`. Closes #6842, closes #6860.
2020-10-29LaTeX writer: Improved calculation of table column widths.John MacFarlane1-36/+63
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.
2018-04-21Markdown reader/writer: spacing adjustments in tables.John MacFarlane1-9/+9
* Markdown writer now includes a blank line at the end of the row in a single-row multiline table, to prevent it from being interpreted as a simple table. Closes #4578. * Markdown reader does a better job computing the relative width of the last column in a multiline table, so we can round-trip tables without constantly shrinking the last column.
2017-12-28LaTeX writer: Use \endhead after \toprule in headerless tables.John MacFarlane1-0/+2
Closes #4207.
2017-02-23Updated table tests.John MacFarlane1-36/+36
2017-02-04Moved tests/ -> test/.John MacFarlane1-0/+168