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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In my presentation I put \tikzpicture, cases or \array in \figure, I am wondering if it is possible to resize the whole picture including caption with a factor. It seems that \resizebox{<horizontal size>}{<vertical size>}{...} does not work here...

Could anyone help? Thank you very much!

share|improve this question
up vote 2 down vote accepted

I recommend to avoid using figure environments in beamer, because usually the figures are not intended to float in presentations, and they don't do it as Herbert commented. It can avoid confusion with floats in standard LaTeX. If you just use figure because you need captions, you could do it with the \captionof command of the caption package instead.

Here's an example, where a minipage of a small size .3\textwidth is used together with a caption, and enlarged by \resizebox to \textwidth, the whole box including the caption is scaled.

    \sum\limits_{i=1}^{\infty} x_i
\captionof{figure}{Test figure}

resized figure with caption in beamer frame

It would cause an error if figure with \caption would be used here instead of minipage. Note, by using the caption package you can benefit from further features of this great package.

share|improve this answer
inside beamer the figure is not a floating object – Herbert Aug 29 '11 at 16:32


    \sum\limits_{i=1}^{\infty} x_i
\caption{Test figure}


enter image description here

share|improve this answer

Your Answer


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.