I'm trying to align multicolumn table headers in order to achieve the following result: enter image description here

However this is what I was able to achieve by nesting \thead inside \multicolumn: enter image description here

Note how the desired table header fully spans the 2 columns, as opposed to my case where it looks shrinked.
This is the tex itself:

Method & \multicolumn{2}{c}{\thead{NOT YOS \\\hline LIB}} &
\multicolumn{2}{c}{\thead{LIB YOS \\\hline NOT}} & \multicolumn{2}{c}{\thead{LIB NOT \\\hline YOS}} & Mean\\\hline

1 Answer 1


enter image description here


\multirow{2.4}{*}{Method} & NOT & YOS & LIB & YOS & LIB & YOT & \multirow{2.4}{*}{Mean}\\
\cmidrule(r){2-3} \cmidrule(lr){4-5} \cmidrule(l){6-7}
 & \multicolumn{2}{c}{LIB} & \multicolumn{2}{c}{NOT} & \multicolumn{2}{c}{YOS} & \\

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.