Hi,
How do I have a table with rows having equal heights? Because of content of different heights in each row, the table looks weird. Is there a command by which I can have all the rows of the same height?
Thank you,
Omkar
Graphics, Figures & Tables ⇒ Get a table with rows having equal heights
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Get a table with rows having equal heights
You can stretch the lines of a tabular (and array) environment globally by adding a line to the preamble.
This line inside a table environment keeps the effect local.
Best regards
Thorsten¹
Code: Select all
\renewcommand{\arraystretch}{2}
Code: Select all
\begin{table}[!ht]
\centering
\caption{A stretched table}\label{tab:stretched}
\renewcommand{\arraystretch}{2}
\begin{tabular}{ccc}
% contents of the table
\end{tabular}
\end{table}
Best regards
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10