TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

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

I am creating a beamer presentation and I would like to change the size of the caption under the figures. I am using the Madrid theme.

I tried the obvious way:

\caption{\scriptsize{Text of the caption.}}



in the preamble of the document.

However none of that seems to have any effect.

share|improve this question

migrated from stackoverflow.com Apr 16 '12 at 14:48

This question came from our site for professional and enthusiast programmers.

Welcome to TeX.sx! Your question was migrated here from Stack Overflow. Please register on this site, too, and make sure that both accounts are associated with each other (by using the same OpenID), otherwise you won't be able to comment on or accept answers or edit your question. – Werner Apr 16 '12 at 15:31
I'd like to see an example showing that \setbeamerfont{caption}{size=\scriptsize} doesn't have any effect. – Gonzalo Medina Apr 16 '12 at 19:33
@GonzaloMedina: right, that works for me, except that I can't multiply the size. I'd like 0.7\scriptsize, but that actually prints "0.7" before every caption... – naught101 Apr 29 '12 at 6:09
up vote 10 down vote accepted

Use the caption package: \usepackage{caption}

Then use captionsetup: \captionsetup{font=scriptsize,labelfont=scriptsize}

Have fun with LaTeX!

share|improve this answer
This doesn't work for me, I get an "undefined control sequence" error. – naught101 Apr 29 '12 at 5:57
You have to use the package 'caption' \usepackage{caption} – user15608 Jun 14 '12 at 14:11
Also, you can restrict this to figures by using the 'figure' option \captionsetup[figure]{font=scriptsize,labelfont=scriptsize}. – naught101 Nov 5 '12 at 1:06
That doesn't do anything. @samcarter's suggestion though works! – johk95 Jun 12 '15 at 15:08

To change the font size your second command


should work fine. In case you'd like "non-standard" font sizes, you can use

share|improve this answer

I personnally use \usepackage[textfont={small,it}]{caption} in the preamble. So in your case, you may try \usepackage[textfont={scriptsize}]{caption}

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.