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

  • 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

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.

  • 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
  • 1
    @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}

  • 4
    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
  • 1
    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 LeBauer Dec 1 '10 at 0:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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