tags:

views:

332

answers:

3

Hi, I wanted to remove extra space between the two tables.

\begin{table}[h]\small
\begin{tabular}{|c|c|c|c|c|}\hline
\end{tabular}
\end{table}

\begin{table}[h]\small
\begin{tabular}{|p{9.9cm}|p{2cm}|p{2.3cm}|p{2.3cm}|}
\end{tabular}
\end{table}

between these two tables I am getting too much spaces. I wont to reduce the space and start the 2table after first with space of say 2cm.

Thanks

+1  A: 

You could use a \vspace{-2em} for example between your tables.

RC
A: 

Try to add a \vfill after the second table

\begin{table}[h]\small    
\begin{tabular}{|c|c|c|c|c|}\hline
\end{tabular}
\end{table}

\begin{table}[h]\small
\begin{tabular}{|p{9.9cm}|p{2cm}|p{2.3cm}|p{2.3cm}|}
\end{tabular}
\end{table}

\vfill
midtiby
Hmm, this seems to be a dead end...
midtiby
+3  A: 

If you want the tables to always be consecutive, you should put them into the same table environment. If you have them in separate environments any sort of \vspace \vfill kludges may (will) not work if LaTeX typesets them on different pages.

\begin{table}[h]\small    
\begin{tabular}{|c|c|c|c|c|}\hline
\end{tabular}
\vspace{*adjust here*}
\begin{tabular}{|p{9.9cm}|p{2cm}|p{2.3cm}|p{2.3cm}|}
\end{tabular}
\end{table}
Timo
@Rob: Indeed, thanks for correcting that!
Timo