What is the most convenient way to shrink a table to fit in a beamer slide?
-
10I'd point out that large tables are not usually a good idea in presentations, so before you simply cram in lots of numbers do think about the point you are aiming to achieve.– Joseph Wright ♦Nov 8, 2010 at 5:51
3 Answers
Besides adjusting the font size such that it fits:
-
The downside of \resizebox is that if you have a landscape page and use longtable package, the table gets flipped and is rendered useless. At least that was my case. Good tip, though. Dec 12, 2010 at 15:03
-
\resizebox \r \resizebox does not work for me; I'm using TeXnicCenter. There have to be a way to improve on including tables, none of the solutions given above work. Dec 13, 2011 at 22:04
-
3@RomanLuštrik: in the context of a presentation, having a side-way table would be somewhat... odd. Dec 13, 2011 at 22:40
Use \small
or \tiny
after the \begin{table}
-
4You mean after
\begin{table}
? Most likely, in a presentation one will use a table without putting it as a float. In that case, but\small
etc before\begin{tabular}
and enclose it in a group.– AdityaNov 8, 2010 at 6:48 -
1As far as I know the »beamer« class defines its own non-floating
table
(andfigure
) environment. Nov 8, 2010 at 8:16 -
+1 also got it working adding \huge between \begin{table} and \begin{tabular} Dec 1, 2010 at 0:48
I had the same problem. The problem is solved by using the following:
\begin{frame}[shrink=5]{Title}
\end{frame}
Number 5 is fixed.