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}
When I do this :
\begin{table}[!h]
\begin{center}
\caption{Resultados dos testes de hipótese}\label{tab:fremantle_modelos}
\begin{tabular}
{c|c|c c}
\hline \hline \\
entry1&entry2$entry3&entry4 \\
etc..
Only the first vertical line is complete, the others start at second line.
How should I do?
Thank you.
add \\[5pt] to the end of each row would increase the height of each row