Graphics, Figures & Tables ⇒ Get a table with rows having equal heights
Get a table with rows having equal heights
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
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Get a table with rows having equal heights
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¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10