I want to generate a table with fixed column width even though every line of it has \multicolumn.
I have seen this solution but it's not suitable for my needs since I need to be able to control each cell's border.
MWE:
\documentclass{article}
\usepackage{multirow}
\begin{document}
\begin{tabular}{*{2}{p{1cm}}*{2}{p{2cm}}}
&
&\multicolumn{2}{c}{strong}\\
&
&\multicolumn{1}{c}{work and steal}
&\multicolumn{1}{c}{work}\\
\cline{3-4}
\multirow{2}*{weak}
&\multicolumn{1}{c|}{work}
&\multicolumn{1}{c|}{(x,y)}
&\multicolumn{1}{c|}{(x,y)}\\
\cline{3-4}
&\multicolumn{1}{c|}{rest}
&\multicolumn{1}{c|}{(x,y)}
&\multicolumn{1}{c|}{(x,y)}\\
\cline{3-4}
\end{tabular}
\end{document}



\multicolumns? – Bernard Feb 11 '20 at 20:072cm. – leandriis Feb 11 '20 at 20:08&work and steal &work\\instead fo your current 2 multicolumns. If you insist on using the multicolumn commands, although I can't see any reason why, you can use&\multicolumn{1}{p{2cm}}{work and steal} &\multicolumn{1}{p{2cm}}{work}\\. – leandriis Feb 11 '20 at 20:09pspecification and replacing it bycso the column width is not specified. if you need multicolumn (which seems unlikely) use p again not c. apcolumn entry is a parbox so you can use\centeringto center, or for a fixed width c column usearraypackage andwc{2cm}– David Carlisle Feb 11 '20 at 20:18