How to remove figure caption prefix "figure" in beamer

Renew caption template

\documentclass{beamer}


\begin{document}
\setbeamertemplate{caption}{\raggedright\insertcaption\par}

\frame{
\begin{figure}
\rule{5cm}{5cm}
\caption{Test}
\end{figure}
}

\end{document}

No need to load any other packages. You may even add some fancy stuff like a

\setbeamertemplate{caption}{%
\begin{beamercolorbox}[wd=.5\paperwidth, sep=.2ex]{block body}\insertcaption%
\end{beamercolorbox}%
}

Which basically gives you a colored box around the caption (when a color-theme is used).

You can use :

\setbeamertemplate{caption}[default]

if you want to switch back the parameter to its default value, for example if you want the change to be only local.


You can use the caption package:

\documentclass{beamer}

\usepackage{caption}
\captionsetup[figure]{labelformat=empty}% redefines the caption setup of the figures environment in the beamer class.

\begin{document}
\frame{
\begin{figure}
\caption{Test}
\end{figure}

\begin{table}\caption{test}
\centering
\begin{tabular}{|c|c|}
c&c
\end{tabular}
\end{table}}
\end{document}

enter image description here

Notice that since I am only redefining the caption style for figures the rest are left intact as defined by the beamer class.


The solution is very simple. Just put the caption below the \includegraphics... command with a double left slash. You don't need to use the caption command, only if you need to number figures, which is note very common in a presentation:

\centering
\includegraphics...
\\ <your caption here>