mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-02 21:55:44 +00:00
for resizing figures, table cells, etc. in LaTeX. `\linewidth`, unlike the others, is sensitive to indented environments like lists. Closes #9775.
36 lines
1.2 KiB
Plaintext
36 lines
1.2 KiB
Plaintext
\begin{longtable}[]{@{}
|
|
>{\raggedright\arraybackslash}p{(\linewidth - 2\tabcolsep) * \real{0.5000}}
|
|
>{\raggedright\arraybackslash}p{(\linewidth - 2\tabcolsep) * \real{0.5000}}@{}}
|
|
\caption{List of Students}\label{students}\tabularnewline
|
|
\toprule\noalign{}
|
|
\begin{minipage}[b]{\linewidth}\centering
|
|
Student ID
|
|
\end{minipage} & \begin{minipage}[b]{\linewidth}\centering
|
|
Name
|
|
\end{minipage} \\
|
|
\midrule\noalign{}
|
|
\endfirsthead
|
|
\toprule\noalign{}
|
|
\begin{minipage}[b]{\linewidth}\centering
|
|
Student ID
|
|
\end{minipage} & \begin{minipage}[b]{\linewidth}\centering
|
|
Name
|
|
\end{minipage} \\
|
|
\midrule\noalign{}
|
|
\endhead
|
|
\bottomrule\noalign{}
|
|
\endlastfoot
|
|
\multicolumn{2}{@{}>{\raggedright\arraybackslash}p{(\linewidth - 2\tabcolsep) * \real{1.0000} + 2\tabcolsep}@{}}{%
|
|
Computer Science} \\
|
|
3741255 & Jones, Martha \\
|
|
4077830 & Pierce, Benjamin \\
|
|
5151701 & Kirk, James \\
|
|
\multicolumn{2}{@{}>{\raggedright\arraybackslash}p{(\linewidth - 2\tabcolsep) * \real{1.0000} + 2\tabcolsep}@{}}{%
|
|
Russian Literature} \\
|
|
3971244 & Nim, Victor \\
|
|
\multicolumn{2}{@{}>{\raggedright\arraybackslash}p{(\linewidth - 2\tabcolsep) * \real{1.0000} + 2\tabcolsep}@{}}{%
|
|
Astrophysics} \\
|
|
4100332 & Petrov, Alexandra \\
|
|
4100332 & Toyota, Hiroko \\
|
|
\end{longtable}
|