I have this table, but wanted to format the first row. I like to match the two columns of first row, and last two columns of the same first row. Any suggestion on how to do that?
\begin{table}[!h]
\caption{Comparison of percentages.}
\begin{tabular}{lclclclclc}
\hline
\hline
Mode & Var & Cum\\
\hline
{} & EF & CHF & EF2 & CHF2\\
1 & 17.5 & 19.1 & 17.5 & 19.1\\
2 & 11.8 & 12.7 & 29.3 & 31.9\\
3 & 6.6 & 5.6 & 35.9 & 37.4\\
\hline
\end{tabular}
\end{table}
Best Answer
This can be done using
\multicolumn
:As an example, with some improvements using
booktabs
: