The objective is to have a tabular with the following properties
1. the cells are aligned both vertically and horizontally.
2. the cell height can be changed without affecting the content size.
I have tried to solve this problem using rule of zero width as follows
Code: Select all
\begin{tabular}{m{0pt}*{3}{|>{\centering\arraybackslash$}m{3cm}<{$}}|}\hline
\rule{0pt}{1cm} &a & x & \sin x \\\hline
\rule{0pt}{1cm} &b & y & \cos y \\\hline
\rule{0pt}{1cm} &c & z & \frac{x}{y} \\\hline
\end{tabular}
The formated tabular, unfortunately, shows this column that I actually want to hide.
Is there any trick to solve it?
Thank you in advance.
Hayashi