# [Tex/LaTex] Beamer: change size of figure caption

beamercaptionsfontsize

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.

Use the caption package: \usepackage{caption}
Then use captionsetup: \captionsetup{font=scriptsize,labelfont=scriptsize}