[Tex/LaTex] Text wrapping in multirow columns


How do I make the long multirow cell wrap its text? Ideally I'd like to be able to specify a width for the entire column. The text should also be centered both vertically and horizontally.

    \multirow{2}{*}{looooooong cell} & cell1 & cell2 \\ \cline{2-3}
     & cell3 & cell4 \\ \hline

enter image description here

EDIT: Just found a solution for a single cell (answered below). But I'm still wondering if there's any way to do it for an entire column. I'd rather not have to do this for each individual cell.

Best Answer

\multirow would linewrap if you used the length of the box instead of * in



\multirow{2}{2cm}{\centering looooooong cell}}
Related Question