The headers in my LaTeX tables have quite a bit of text. So I had to use the p command to specify the width of the column. Problem is, in the actual table, the contents of the cell are not centered, that is, I want my \checkmark command to be in the center of that cell. How do I solve this problem?
Code: Select all
\begin{table}
\begin{center}
\begin{tabular}{lp{2cm}p{2cm}p{2cm}p{2cm}p{2cm}p{2cm}}
\toprule
\multirow{3}{*}{\textbf{Weather}} & \multicolumn{3}{c}{Rain in Spain} & \multicolumn{3}{c}{Rain In Italy} \\ \cmidrule(r){2-4} \cmidrule{5-7} & Information here & Information here & Information here & Information here & Information here & Information here \\ \midrule
HAHA & & \checkmark & & & & \\
\bottomrule
\end{tabular}
\end{center}
\caption[MAC finalisation classification scheme]{MAC finalisation classification scheme}
\label{MACclasstable}
\end{table}
