TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

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.

share|improve this question

marked as duplicate by Fran, Peter Jansson, moewe, Jubobs, Heiko Oberdiek Mar 15 '14 at 14:03

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 9 down vote accepted

Actually just found a solution

\multirow{2}{*}{\parbox{2cm}{\centering looooooong cell}}

works perfectly.

share|improve this answer

To expand your answer: Use a paragraph box as in Text wrap in tables (multirow package loaded). I've made the font larger for example purposes and added another row so you can see it's centered in both directions.



  \multirow{3}{*}{\parbox{4cm}{looooooong cell}} & cell1 & cell2 \\ \cline{2-3}
   & cell3 & cell4 \\ \cline{2-3}
   & cell5 & cell6 \\ \hline


enter image description here

share|improve this answer

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



\multirow{2}{2cm}{\centering looooooong cell}}
share|improve this answer

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