diff options
| author | Albert Krewinkel <albert@zeitkraut.de> | 2020-12-21 03:04:54 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-20 18:04:54 -0800 |
| commit | 8f402beab922646d4c428b40a75fe4d140ab5e9e (patch) | |
| tree | d805b8eabfe6a54c89ed90223f44b5535a1630bd /test/tables/students.latex | |
| parent | 7e98562c04be19f533bc806a8525fe203d1ede58 (diff) | |
LaTeX writer: support colspans and rowspans in tables. (#6950)
Note that the multirow package is needed for rowspans.
It is included in the latex template under a variable,
so that it won't be used unless needed for a table.
Diffstat (limited to 'test/tables/students.latex')
| -rw-r--r-- | test/tables/students.latex | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/test/tables/students.latex b/test/tables/students.latex new file mode 100644 index 000000000..680a539d3 --- /dev/null +++ b/test/tables/students.latex @@ -0,0 +1,23 @@ +\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 \\ \addlinespace +\midrule +\endfirsthead +\toprule +Student ID & Name \\ \addlinespace +\midrule +\endhead +\multicolumn{2}{l}{Computer Science} \\ \addlinespace +3741255 & Jones, Martha \\ \addlinespace +4077830 & Pierce, Benjamin \\ \addlinespace +5151701 & Kirk, James \\ \addlinespace +\multicolumn{2}{l}{Russian Literature} \\ \addlinespace +3971244 & Nim, Victor \\ \addlinespace +\multicolumn{2}{l}{Astrophysics} \\ \addlinespace +4100332 & Petrov, Alexandra \\ \addlinespace +4100332 & Toyota, Hiroko \\ \addlinespace +\bottomrule +\end{longtable} |
