9a18cf4b59
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.
23 lines
639 B
Text
23 lines
639 B
Text
\begin{longtable}[]{@{}
|
|
>{\raggedright\arraybackslash}p{(\columnwidth - 2\tabcolsep) * \real{0.50}}
|
|
>{\raggedright\arraybackslash}p{(\columnwidth - 2\tabcolsep) * \real{0.50}}@{}}
|
|
\caption{List of Students}\tabularnewline
|
|
\toprule
|
|
Student ID & Name \\
|
|
\midrule
|
|
\endfirsthead
|
|
\toprule
|
|
Student ID & Name \\
|
|
\midrule
|
|
\endhead
|
|
\multicolumn{2}{l}{Computer Science} \\
|
|
3741255 & Jones, Martha \\
|
|
4077830 & Pierce, Benjamin \\
|
|
5151701 & Kirk, James \\
|
|
\multicolumn{2}{l}{Russian Literature} \\
|
|
3971244 & Nim, Victor \\
|
|
\multicolumn{2}{l}{Astrophysics} \\
|
|
4100332 & Petrov, Alexandra \\
|
|
4100332 & Toyota, Hiroko \\
|
|
\bottomrule
|
|
\end{longtable}
|