Sometimes it is helpful to be able to provide partial border specifications, for either rows or columns.
\cline{i-j}
provides a partial bottom border between columns i
and j
of the current row.
A combined use of \multicolumn
and \multirow
can build a partial vertical border.
Here is one illustrating example:
Primes | ||||||
---|---|---|---|---|---|---|
2 | 3 | 5 | 7 | |||
Powers | 504 | 3 | 2 | 0 | 1 | |
540 | 2 | 3 | 1 | 0 | ||
Powers | gcd | 2 | 2 | 0 | 0 | min |
lcm | 3 | 3 | 1 | 1 | max |