summaryrefslogtreecommitdiff
path: root/test/tables/students.latex
AgeCommit message (Collapse)Author
2023-10-17LaTeX writer: don't treat table as "simple" if they have col widths.John MacFarlane
This should help fix a problem wherein some grid tables with colspans were overly wide. See #9140. The example given there still produces suboptimal output (overlapping text), so not closing yet.
2023-05-08LaTeX writer: better fix for colspecs for multicolumn table.John MacFarlane
Improves on the last commit; closes #8831.
2023-01-04Use `\toprule\noalign{}` instead of `\toprule()` in LaTeX tables.John MacFarlane
And similar for `\midrule` and `\bottomrule`. This facilitates redefining `\toprule`, `\midrule`, and `\bottomrule` without needing to gobble the ()s. Closes #8223.
2022-10-06LaTeX writer: add separator line between table's body and its foot.Albert Krewinkel
The writer uses features from the longtable package to define the table foot. Furthermore, the table's bottom rule is now part of the foot, where it previously was given as part of the body.
2022-08-17LaTeX writer: add label to tables that have an identifierAlbert Krewinkel
Tables with an identifier are marked with a `\label`. A caption is always included in this case, even if the caption is empty. Closes: #8219
2022-08-07LaTeX writer: fix widths of multicolumn cellsAlbert Krewinkel
Fixes: #8218
2022-06-01Fix LaTeX tests for tables with colspansAlbert Krewinkel
2022-03-30LaTeX writer: add () after booktabs rules.John MacFarlane
These commands take optional arguments with () and [], which can lead to problems if the content of the table cell begins with these characters. Closes #8001.
2021-08-03LaTeX table writer: Increase column width precision (#7466)Peter Fabinski
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 MacFarlane
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 MacFarlane
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-12-20LaTeX writer: support colspans and rowspans in tables. (#6950)Albert Krewinkel
Note that the multirow package is needed for rowspans. It is included in the latex template under a variable, so that it won't be used unless needed for a table.