summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/tables/planets.latex24
-rw-r--r--test/tables/students.latex9
2 files changed, 20 insertions, 13 deletions
diff --git a/test/tables/planets.latex b/test/tables/planets.latex
index c7fcfe1cf..c248b8ea4 100644
--- a/test/tables/planets.latex
+++ b/test/tables/planets.latex
@@ -1,19 +1,22 @@
\begin{longtable}[]{@{}cclrrrrrrrrl@{}}
\caption{Data about the planets of our solar system.}\tabularnewline
\toprule()
-\multicolumn{2}{c}{} & Name & Mass (10\^{}24kg) & Diameter (km) & Density
-(kg/m\^{}3) & Gravity (m/s\^{}2) & Length of day (hours) & Distance from Sun
-(10\^{}6km) & Mean temperature (C) & Number of moons & Notes \\
+\multicolumn{2}{@{}>{\centering\arraybackslash}p{0.0000\columnwidth - 0\tabcolsep}}{%
+} & Name & Mass (10\^{}24kg) & Diameter (km) & Density (kg/m\^{}3) & Gravity
+(m/s\^{}2) & Length of day (hours) & Distance from Sun (10\^{}6km) & Mean
+temperature (C) & Number of moons & Notes \\
\midrule()
\endfirsthead
\toprule()
-\multicolumn{2}{c}{} & Name & Mass (10\^{}24kg) & Diameter (km) & Density
-(kg/m\^{}3) & Gravity (m/s\^{}2) & Length of day (hours) & Distance from Sun
-(10\^{}6km) & Mean temperature (C) & Number of moons & Notes \\
+\multicolumn{2}{@{}>{\centering\arraybackslash}p{0.0000\columnwidth - 0\tabcolsep}}{%
+} & Name & Mass (10\^{}24kg) & Diameter (km) & Density (kg/m\^{}3) & Gravity
+(m/s\^{}2) & Length of day (hours) & Distance from Sun (10\^{}6km) & Mean
+temperature (C) & Number of moons & Notes \\
\midrule()
\endhead
-\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 \\
+\multicolumn{2}{@{}>{\centering\arraybackslash}p{0.0000\columnwidth - 0\tabcolsep}}{%
+\multirow{4}{*}{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
@@ -24,7 +27,8 @@ planet \\
& \multirow{2}{*}{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 & Declassified as a planet in 2006. \\
+\multicolumn{2}{@{}>{\centering\arraybackslash}p{0.0000\columnwidth - 0\tabcolsep}}{%
+Dwarf planets} & Pluto & 0.0146 & 2,370 & 2095 & 0.7 & 153.3 & 5906.4 & -225 & 5
+& Declassified as a planet in 2006. \\
\bottomrule()
\end{longtable}
diff --git a/test/tables/students.latex b/test/tables/students.latex
index c256c289c..8f6aeb26c 100644
--- a/test/tables/students.latex
+++ b/test/tables/students.latex
@@ -18,13 +18,16 @@ Name
\end{minipage} \\
\midrule()
\endhead
-\multicolumn{2}{l}{Computer Science} \\
+\multicolumn{2}{@{}>{\raggedright\arraybackslash}p{1.0000\columnwidth - 0\tabcolsep}@{}}{%
+Computer Science} \\
3741255 & Jones, Martha \\
4077830 & Pierce, Benjamin \\
5151701 & Kirk, James \\
-\multicolumn{2}{l}{Russian Literature} \\
+\multicolumn{2}{@{}>{\raggedright\arraybackslash}p{1.0000\columnwidth - 0\tabcolsep}@{}}{%
+Russian Literature} \\
3971244 & Nim, Victor \\
-\multicolumn{2}{l}{Astrophysics} \\
+\multicolumn{2}{@{}>{\raggedright\arraybackslash}p{1.0000\columnwidth - 0\tabcolsep}@{}}{%
+Astrophysics} \\
4100332 & Petrov, Alexandra \\
4100332 & Toyota, Hiroko \\
\bottomrule()