mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-21 13:51:29 +08:00
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.
32 lines
871 B
Plaintext
32 lines
871 B
Plaintext
\begin{longtable}[]{@{}
|
|
>{\raggedright\arraybackslash}p{(\columnwidth - 2\tabcolsep) * \real{0.5000}}
|
|
>{\raggedright\arraybackslash}p{(\columnwidth - 2\tabcolsep) * \real{0.5000}}@{}}
|
|
\caption{List of Students}\tabularnewline
|
|
\toprule
|
|
\begin{minipage}[b]{\linewidth}\centering
|
|
Student ID
|
|
\end{minipage} & \begin{minipage}[b]{\linewidth}\centering
|
|
Name
|
|
\end{minipage} \\
|
|
\midrule
|
|
\endfirsthead
|
|
\toprule
|
|
\begin{minipage}[b]{\linewidth}\centering
|
|
Student ID
|
|
\end{minipage} & \begin{minipage}[b]{\linewidth}\centering
|
|
Name
|
|
\end{minipage} \\
|
|
\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}
|