Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Making LaTeX tables smaller?

Tags:

latex

People also ask

How do I change the height of a table in LaTeX?

Use \rule{0pt}{value} to change the single row height to value. See tex.stackexchange.com/a/554661/250119 for an example where it's used.


http://en.wikibooks.org/wiki/LaTeX/Tables#Resize_tables talks about two ways to do this.

I used:

\scalebox{0.7}{
  \begin{tabular}
    ...
  \end{tabular}
}

As well as \singlespacing mentioned previously to reduce the height of the table, a useful way to reduce the width of the table is to add \tabcolsep=0.11cm before the \begin{tabular} command and take out all the vertical lines between columns. It's amazing how much space is used up between the columns of text. You could reduce the font size to something smaller than \small but I normally wouldn't use anything smaller than \footnotesize.


if it's too long for one page, use the longtable package. and if it's too wide for the page, use p{width} in place of l,r, or c for the column specifier. you can also go smaller than \small, i.e. \footnotesize and \tiny. I would consult the setspace package for options on how to remove the double space, though it's probably \singlespace or something like that.


You could add \singlespacing near the beginning of your table. See the setspace instructions for more options.