I am using the dcolumn
package to align cell contents at the decimal seperator. Now in the table header I have a textual description of the column, for example like this:
\begin{tabular}{c|d{4.3}}
field & \multicolumn{1}{c}{description} \\
\hline
a & 0.55 \\
b & 1223.4
\end{tabular}
As you can see I had to wrap this text in multicolumn
to make LaTeX happy which somehow is a hack. Is there a more elegant way? Especially for many columns this gets a little cumbersome.