2
Here is away to do it with a simpler code: I use the xltabular environment, which brings the functionalities of longtable to tabularx, so the longtable does not overflows into the margin. I added cellspace , which defines a minimal vertical padding in cells of columns with specifier prefixed with the letter S(or C if you load siunitx).
\documentclass{...
Only top voted, non community-wiki answers of a minimum length are eligible
Related Tags
wrap × 276tables × 72
wrapfigure × 49
floats × 44
graphics × 29
spacing × 14
multirow × 14
longtable × 13
multicolumn × 12
tabularx × 10
context × 10
horizontal-alignment × 9
formatting × 9
positioning × 9
two-column × 9
text × 9
lists × 8
tikz-pgf × 7
beamer × 7
captions × 7
line-breaking × 7
tabulary × 7
vertical-alignment × 6
align × 6
theorems × 6