I am looking for a way to format the first column of my table to look like this (to span the whole page width, mdpi template):
In my below code, the title of first column extends to overlap into the second column.
\begin{table}[H]
\caption{This is a wide table.\label{tab2}}
\begin{adjustwidth}{-\extralength}{0cm}
\newcolumntype{C}{>{\centering\arraybackslash}X}
\begin{tabularx}{\fulllength}{XCCCCCCCCCCCC}
\toprule
Transportation &
\multicolumn{4}{c}{Precision} &
\multicolumn{4}{c}{Recall} &
\multicolumn{4}{c}{F1-Score} \\
\cmidrule(r{1ex}){2-5} \cmidrule(r{1ex}){6-9} \cmidrule{10-13}
Mode & {RF} & {SVC} & {DT} & {XGB} & {RF} & {SVC} & {DT} & {XGB} & {RF} & {SVC} & {DT} & {XGB}\\
\midrule
Foot & 0.60 & 0.57 & 0.59 & 0.61 & 0.93 & 0.94 & 0.73 & 0.93 & 0.73 & 0.71 & 0.65 & 0.73 \\
Bike & 0.97 & 0.02 & 0.39 & 0.88 & 0.22 & 0.03 & 0.23 & 0.36 & 0.36 & 0.02 & 0.28 & 0.51 \\
\bottomrule
\end{tabularx}
\end{adjustwidth}
\end{table}
Output:
l
instead ofX
for the first column.