I need help with the column width adjustment for my table. The table looks too constrained. I want the text to have spaces between the lines. The text is not centered and also the lines are not aligned properly for this table. Can someone help me and teach on how to adjust width when using \multicolumn. I am using this table on a two column article.
Thanks
Code: Select all
Code, edit and compile here:
\begin{table*}[htbp]\centering\caption{Table caption}\begin{tabular}{|*{18}{c|}}\hline\multicolumn{9}{|c}{\textbf{k-means clustering}} & \multicolumn{9}{|c|}{\textbf{Fuzzy c-means clustering}} \\ \hline\multicolumn{3}{|c}{\textbf{50 clusters}} & \multicolumn{3}{|c}{\textbf{60 clusters}} & \multicolumn{3}{|c}{\textbf{70 clusters}} &\multicolumn{3}{|c}{\textbf{50 clusters}} & \multicolumn{3}{|c}{\textbf{60 clusters}} & \multicolumn{3}{|c|}{\textbf{70 clusters}} \\ \hline\textbf{CJ} & \textbf{HT} & \textbf{SVD} &\textbf{CJ} & \textbf{HT} & \textbf{SVD} &\textbf{CJ} & \textbf{HT} & \textbf{SVD} &\textbf{CJ} & \textbf{HT} & \textbf{SVD} &\textbf{CJ} & \textbf{HT} & \textbf{SVD} &\textbf{CJ} & \textbf{HT} & \textbf{SVD} \\ \hline2.453 & 2.453 & 2.453 & 2.453 & 2.453& 2.453 & 2.453& 2.453 & 2.453 & 2.453 & 2.453 & 2.453 & 2.453 & 2.453 & 2.453 & 2.453 & 2.453 & 2.453 \\ \hline\end{tabular}\raggedright{ \tabnote{CJ= some text, HT= some text, SVD= some text}}\end{table*}