diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2023-10-17 21:09:31 -0700 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2023-10-17 21:11:16 -0700 |
| commit | f4baa88f4267e2056269efa71ce78ee290b0e9aa (patch) | |
| tree | 72f8bec824751b6b23565b4edee3c8a65e6b4e7c /test/tables/students.latex | |
| parent | fa3513b104e089a8969f3ae0dab98eba78b1a942 (diff) | |
LaTeX writer: don't treat table as "simple" if they have col widths.
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.
Diffstat (limited to 'test/tables/students.latex')
| -rw-r--r-- | test/tables/students.latex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/tables/students.latex b/test/tables/students.latex index f20aa027c..802b00c60 100644 --- a/test/tables/students.latex +++ b/test/tables/students.latex @@ -20,15 +20,15 @@ Name \endhead \bottomrule\noalign{} \endlastfoot -\multicolumn{2}{@{}l@{}}{% +\multicolumn{2}{@{}>{\raggedright\arraybackslash}p{(\columnwidth - 2\tabcolsep) * \real{1.0000} + 2\tabcolsep}@{}}{% Computer Science} \\ 3741255 & Jones, Martha \\ 4077830 & Pierce, Benjamin \\ 5151701 & Kirk, James \\ -\multicolumn{2}{@{}l@{}}{% +\multicolumn{2}{@{}>{\raggedright\arraybackslash}p{(\columnwidth - 2\tabcolsep) * \real{1.0000} + 2\tabcolsep}@{}}{% Russian Literature} \\ 3971244 & Nim, Victor \\ -\multicolumn{2}{@{}l@{}}{% +\multicolumn{2}{@{}>{\raggedright\arraybackslash}p{(\columnwidth - 2\tabcolsep) * \real{1.0000} + 2\tabcolsep}@{}}{% Astrophysics} \\ 4100332 & Petrov, Alexandra \\ 4100332 & Toyota, Hiroko \\ |
