adjust row spacing in a latex table
May 25th, 2007 by Lawrence David
to adjust the spacing between rows in a latex table, add square brackets and the size adjustment after the linebreak.
for instance, to compress rows by 1 inch:
entry1 & entry2 & entry3 \\[-1in]
Cool!
Do you know how to adjust the spacing between rows, but for all the tabular?
cheers,
Victor
Sorry, don’t know that!
Hi,
you can write something like that :
\begin{table}[!ht]\renewcommand{\arraystretch}{2}\addtolength{\tabcolsep}{-1pt}
\begin{center}
\label{ResumeContact}
\begin{tabularx}{\linewidth}{cccc}
…
etc
Thanks Mickael! That helped so, so much.
and how about the space between the columns? I mean, is it possible to adjust the minimal distance between a cell’s content and its left and right edge?
Thanks a lot in advance!
Pas,
\setlength{\tabcolsep}{5pt}