Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

What is the most convenient way to shrink a table to fit in a beamer slide?

share|improve this question
10  
I'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 '10 at 5:51

2 Answers 2

up vote 12 down vote accepted

Besides adjusting the font size such that it fits:

  • You could use tabularx to fit the table to the slide by using automatically expanding columns

  • Or you could use \resizebox of the graphicx package to scale a complete table/tabular environment to match the slide width or height.

share|improve this answer
    
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. –  Roman Luštrik Dec 12 '10 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. –  Galois Theory Dec 13 '11 at 22:04
    
@RomanLuštrik: in the context of a presentation, having a side-way table would be somewhat... odd. –  Bruno Le Floch Dec 13 '11 at 22:40

Use \small or \tiny after the \begin{table}

share|improve this answer
3  
You 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. –  Aditya Nov 8 '10 at 6:48
    
As far as I know the »beamer« class defines its own non-floating table (and figure) environment. –  Thorsten Donig Nov 8 '10 at 8:16
    
+1 also got it working adding \huge between \begin{table} and \begin{tabular} –  David Dec 1 '10 at 0:48

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.