I am using beamer
to make a presentation. But the default caption font size seems big to me. So I tried to make the font size smaller using caption
package. I tried this:
\usepackage[center,scriptsize]{caption}
Also:
\usepackage{caption}
\captionsetup[figure]{font={footnotesize},labelfont={footnotesize}}
But they don't seem to make the caption font size smaller. Where am I going wrong?
My preamble is:
\documentclass{beamer}
\usepackage{mathtools}
\usepackage{graphicx}
\usepackage{lmodern}% http://ctan.org/pkg/lm
\graphicspath{{images/}}
\usetheme{default}
And my caption code is:
\begin{figure}[h]
\centering
\includegraphics[scale=0.8]{axb-grid}
\caption{$A \times B$ grid}
\label{fig:axbgrid}
\end{figure}
Best Answer
You don't need the
caption
package for this.Simply issue the command
MWE
Output:
EDIT
While with old versions of
beamer
,caption
commands used to work, it seems that now thecaption
package is not able to recognizebeamer
anymore.In fact, loading
caption
withbeamer
you get the following warning:If you want
caption
and its\captionsetup
to work withbeamer
, you have to loadcaption
with the optioncompatibility=false
:but, as the documentation warns: