I'm using the tabularx
package from within memoir for creating a table. I'm trying to set the row height and found for tabular
the command
\setlength{\extrarowheight}{40pt}
However, with my tabularx
table it doesn't seem to work and I can't find any way to do it (except maybe by manually setting each newline to a certain height)
Is there a better way to set the row height of all rows within a tabularx
?
Best Answer
\extrarowheight
The dimen register
\extrarowheight
is provided by packagearray
, which is automatically loaded by packagetabularx
. Thus\extrarowheight
works as expected in the following example:\arraystretch
A different method is the redefinition of the factor
\arraystretch
. It is applied to the automatic struts, inserted in the tabular, see the question "Column padding in tables", found by Werner.