I am trying to create a table with this code;
\begin{table}[ht]
\centering\begin{tabular}{|c|c|c|c|c|}
\hline
Mean Partnership Duration & \multicolumn {4}{c|}{\centering Number of simulations resulting in an epidemic}\\
\cline{2-5}
No. & head 1 & head 2& head 3 & head 4\
\hline
1 & data1 & data2 & data 3 & data4\
\hline
2 & data1 & data2 & data 3 & 4\
\hline
3 & data1 & data2 & data 3& 4\
\hline
4 & data1 & data2 & data 3& 4\
\hline
\end{tabular}
\caption{This is the ideal table}
\label{My table}
\end{table}
But the 4th subcolumn labelled 'head 4' is larger than the other subcolumns. I want all 4 columns to be equal in width, Any advice? All the best,


