I am looking to typeset the following table in booktabs
:
I am not sure how to get the steps highlighting the differences between the units in the image. The use of \cmidrule
makes the horizontal rules, but leaves quite a bit of space in between the rules. If I then add \belowrulesep=0pt \aboverulesep=0pt
, the spaces around the top, mid and bottom rules get messed up. How do I get tight spacing around \cmidrule
, but not elsewhere?
Also, the only answer I find about using vertical rules in booktabs
is 'don't use vertical rules', which is quite right in general. Still, I think vertical rules in this specific instance are justified. So how do I get these limited vertical rules?
This is what I tried so far:
\documentclass[a4paper,12pt]{article}
\usepackage{booktabs}
\title{HGCS table}
\begin{document}
% \belowrulesep=0pt
% \aboverulesep=0pt
\begin{tabular}{lllllll}
\toprule
& ich & machen & dorf & das & apfel & pfund \\
\midrule
1 & ik & maken & dorp & dat & appel & pund \\\cmidrule{2-2}
2 & ich & maken & dorp & dat & appel & pund \\\cmidrule{3-3}
3 & ich & machen & dorp & dat & appel & pund \\\cmidrule{4-4}
4 & ich & machen & dorf & dat & appel & pund \\\cmidrule{5-5}
5 & ich & machen & dorf & das & appel & pund \\\cmidrule{6-6}
6 & ich & machen & dorf & das & apfel & pund \\\cmidrule{7-7}
7 & ich & machen & dorf & das & apfel & pfund \\
\bottomrule
\end{tabular}%
\end{document}