I want to draw the table below in latex using the tabularx environment. However, the \multicolumn{1.5} is unfortunately not working.
Do you have any idea how to draw this kind of tables where the multicolumn command uses a decimal number (to preserve the same cell width)?
I drew a table using the below code, but the cells don't have the same width.
\begin{table}[h!]
\centering
\begin{tabularx} {0.3\textwidth}
{ l l l l}
\toprule[2pt]
Parameter & \multicolumn{3}{c}{value} \\
\midrule[0.5pt]
P1 & \multicolumn{1}{c}{V1} & \multicolumn{2}{c}{V2}\\
P2 & V1 & V2 & V3 \\
\bottomrule[2pt]
\end{tabularx}
\end{table}
Result:
Kind regards. Widad.



tabularxbut not theXcolumntype? Also don't post such fragments only. – Feb 28 '18 at 17:510.3\textwidth-- simply isn't sufficient. Try, say,0.5\textwidth, and do revert to usingXcolumn types. – Mico Feb 28 '18 at 18:09