diff options
| author | John MacFarlane <[email protected]> | 2025-04-09 22:38:43 -0700 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2025-04-09 22:38:43 -0700 |
| commit | c2482b910715f0dfa3210bd77a3479dede1df4e4 (patch) | |
| tree | e79f78e9541c196da48459fb2ba1c0bdf19d72d0 /test | |
| parent | c589a89d8f16b12f2b407f63362f4006ef5fde86 (diff) | |
LaTeX writer: make alignment work within multirow in tables.
Closes #10772.
Diffstat (limited to 'test')
| -rw-r--r-- | test/tables/planets.latex | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/test/tables/planets.latex b/test/tables/planets.latex index 8b013e3a8..096956272 100644 --- a/test/tables/planets.latex +++ b/test/tables/planets.latex @@ -17,17 +17,18 @@ temperature (C) & Number of moons & Notes \\ \bottomrule\noalign{} \endlastfoot \multicolumn{2}{@{}c}{% -\multirow{4}{*}{Terrestrial planets}} & Mercury & 0.330 & 4,879 & 5427 & 3.7 & -4222.6 & 57.9 & 167 & 0 & Closest to the Sun \\ +\multirow{4}{*}{\centering\arraybackslash Terrestrial planets}} & Mercury & +0.330 & 4,879 & 5427 & 3.7 & 4222.6 & 57.9 & 167 & 0 & Closest to the Sun \\ & & Venus & 4.87 & 12,104 & 5243 & 8.9 & 2802.0 & 108.2 & 464 & 0 & \\ & & Earth & 5.97 & 12,756 & 5514 & 9.8 & 24.0 & 149.6 & 15 & 1 & Our world \\ & & Mars & 0.642 & 6,792 & 3933 & 3.7 & 24.7 & 227.9 & -65 & 2 & The red planet \\ -\multirow{4}{*}{Jovian planets} & \multirow{2}{*}{Gas giants} & Jupiter & 1898 & -142,984 & 1326 & 23.1 & 9.9 & 778.6 & -110 & 67 & The largest planet \\ +\multirow{4}{*}{\centering\arraybackslash Jovian planets} & +\multirow{2}{*}{\centering\arraybackslash Gas giants} & Jupiter & 1898 & 142,984 +& 1326 & 23.1 & 9.9 & 778.6 & -110 & 67 & The largest planet \\ & & Saturn & 568 & 120,536 & 687 & 9.0 & 10.7 & 1433.5 & -140 & 62 & \\ -& \multirow{2}{*}{Ice giants} & Uranus & 86.8 & 51,118 & 1271 & 8.7 & 17.2 & -2872.5 & -195 & 27 & \\ +& \multirow{2}{*}{\centering\arraybackslash Ice giants} & Uranus & 86.8 & 51,118 +& 1271 & 8.7 & 17.2 & 2872.5 & -195 & 27 & \\ & & Neptune & 102 & 49,528 & 1638 & 11.0 & 16.1 & 4495.1 & -200 & 14 & \\ \multicolumn{2}{@{}c}{% Dwarf planets} & Pluto & 0.0146 & 2,370 & 2095 & 0.7 & 153.3 & 5906.4 & -225 & 5 |
