New answers tagged

6

If you absolutely want some colour, here are two solutions with swapping rows and columns. One with vertical and horizontal rules, the other with only horizontal rules (built not using booktabs, as this leads to white spaces in coloured cells). The latter looks better, in my opinion: \documentclass{article} \usepackage[utf8]{inputenc} ...


6

An alternative using booktabs for the table rules, tabularx to get a table that fits the textwidth and siunitx to properly typeset the units. \documentclass{article} \usepackage{tabularx} \usepackage{siunitx} \usepackage{booktabs} \renewcommand{\tabularxcolumn}[1]{>{\centering\arraybackslash}m{#1}} ...


2

Package supertabular beside \tablehead{...} and \tablefirsthead{...}, which contain stuff to be repeated on each new page (or column) also define \tabletail{...} and \tablelasttail{...}. In your case you just add\tabletail{\hsline} after \tablehead definition in your table.



Top 50 recent answers are included