I am having trouble with a table and I hope someone can help me out. Please consider the following code:
Code: Select all
\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} l | r r r r }
Sample criteria & %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\\
\hline
& \underline{$k=1$}
& \underline{$k=2$}
& \underline{$k=5$}
& \underline{$k=10$} \\
\multirow{2}{*}{$A$} & - & - & - & X \\
& - & - & - & X \\
\hline
\multirow{2}{*}{$B$} & - & - & - & X \\
& - & - & - & X \\
\hline
\multirow{2}{*}{$C$} & - & - & - & X \\
& - & - & - & X \\
\hline
\end{tabular*}
Code: Select all
\multicolumn{4}{l}{Total observations}
How can I include the title the way I want it, without somehow changing the last column's width?
Hope to hear from you!
Best,
Niek