It's easy to come up with a table design that requires a cell that spans several rows. An example is something where the left-most column labels the rest of the table; this can be done (in simple cases) by using diagonal separation in corner cells, but that technique rather strictly limits what can be used as the content of the cell.
The multirow package enables you to construct such multi-row cells, in a very simple manner. For the simplest possible use, one might write:
and multirow will position “Common g text” at the vertical center of the space defined by the other rows. Note that the rows that don't contain the “multi-row” specification must have empty cells where the multi-row is going to appear.
* may be replaced by a column width specification. In this
case, the argument may contain forced line-breaks:
A similar effect (with the possibility of a little more
sophistication) may be achieved by putting a smaller table that lines
up the text into a
(which gives text going upwards; use angle
-90 for text going
downwards, of course).
To make a
\multicolumn multi-row “cell” in a table, you have to
\multirow inside a
\multicolumn - the other way
around does not work, so:
Multirow is set up to interact with the bigstrut
package (which is also discussed in the answer to
spacing lines in tables). You use an
optional argument to the
\multirow command to say how many of the
rows in the multi-row have been opened up with