0

I am writing a document using agujournal2018.cls template. The template could be found here.

I have a lengthy table inside my document which do not fit A4 page with double spacing. I want minimum possible spacing for the table without affecting the rest of the document, so it fits in a single page.

Thanks

pkj
  • 511
  • 1
    Have you tried using \renewcommand{\arraystretch}{1} in your table/tabular environment? That should help in resetting the double spacing to single spacing for the table. – mas Nov 24 '18 at 13:03
  • @mas: worked. Provide as a answer. BTW do journals allow \renewcommand? – pkj Nov 24 '18 at 13:10
  • I don't see a reason why it shouldn't be allowed! It's all the same LaTeX after all! – Tim Hilt Nov 24 '18 at 19:23

1 Answers1

0

You can change the interrow spacing in a table using arraystretch command. Similarly, tabcolsep will control the spacing between columns (if you need it). Here is the snippet you can use:

\begin{table}\centering                                                                                                                                                                   
\renewcommand{\arraystretch}{1.2}                                                                                                                                                        
%\renewcommand{\tabcolsep}{1em}                                                                                                                                                           
\begin{tabular}{llcr}                                                                                                                                                                     
...                                                                                                                                                                                          
\end{tabular}                                                                                                                                                                             
\end{table
mas
  • 1,333