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.

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.}}

and

\setbeamerfont{caption}{size=\scriptsize}

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
1  
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

1 Answer 1

up vote 9 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

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.