Newsgroups: comp.text.tex From: Donald Arseneau <a...@triumf.ca> Date: 20 Apr 2001
> I would like to have all cells of the same height in a table. Is there a way > or a package that does it? Thanks for your help.
That is the default, as long as everything fits, right?
Put \renewcommand{arraystretch}{1.5} before the tabular. Choose the number so the biggest cells fit.
Donald Arseneau
I assume you have different (or sometimes even no) material in cells, or even whole rows? If this is the case then there are two simple ways to make sure your desired height is guaranteed everywhere.
Primitive, but useful.
Dr. Oliver Corff
> >> and say \phantom{A} in the first cell of each empty row. > > You misspelled \vphantom, didn't you?. > > Not exactly. There are \phantom, \hphantom and \vphantom. I just thought > \phantom does it here.
I would say you need a \vphantom here. IIRC \phantom inserts an empty box with width, height and depth of its argument, \hphantom inserts a box with zero height and zero depth and \vphantom inserts a box with zero width. So first column of every row. Since what is important here is the height of the symbol, I would use \vphantom
Sven Bovin <m…@student.kuleuven.ac.be>