LaTeX (beamer) — Is there a way to suppress the caption label of “Figure X:” or “Table X:”?

I am making a beamer presentation of someone else's research paper (so I don't have the original tex code). I am using pdfs of tables in the presentation but wanted to cut out all of the original captions, which can be a bit wordy for a slideshow, and simply label them with either "Table X" or "Figure X" along with the title.

So I'd like to suppress automatically inserted caption label (otherwise it would say "Figure: Table I", and so on). If I put the title/label without the \caption{} function, then I have to fight with word wrapping.

-

3 Answers

Unless each member of the audience is expected to have a printed copy of the paper to follow while you do your presentation, I think it doesn't make a lot of sense to number your Figures/Tables in the presentation. How about just keeping something like "Figure: Some short title" with the standard captioning facilities from beamer?

If for some reason you really, really want to include the number of each figure/table as it appeared on the original document, you could manually redefine \figurename before issuing each \caption command to include the appropriate number. For example:

\begin{figure}
% your figure goes here

\def\figurename{Figure 1}
\caption{Some short title}
\end{figure}

-
Thanks, Juan! Works like a charm! The audience will have the paper, so I'd like for the audience (really seminar participants) to be able to follow along easily. Thanks! –  Richard Herron Sep 22 '10 at 11:27

This to me seems a better/cleaner solution:

\usepackage{caption}
\captionsetup{labelformat=empty,labelsep=none}

-
It's not necessary to load the caption package to do this in beamer; the beamer way of doing this is to set the appropriate templates: \setbeamertemplate{caption}{\insertcaption} \setbeamertemplate{caption label separator}{}. –  Gonzalo Medina Jun 19 '12 at 2:05
@GonzaloMedina you are completely right, thanks for pointing that out! –  John J. Camilleri Jun 20 '12 at 12:56
@GonzaloMedina it seems once e.g. the subcaption package is loaded, the way through \setbeamertemplate no longer works but the one through \captionsetup still does. –  anonymous Oct 31 '12 at 14:26
@anonymous but why use subcaption with beamer? –  Gonzalo Medina Oct 31 '12 at 18:04
@GonzaloMedina For subfigures likes commons.wikimedia.org/wiki/File:Latex_example_subfig.png. According to en.wikibooks.org/wiki/LaTeX/… that's what one should use these days instead of the packages subfigure and subfig. –  anonymous Nov 1 '12 at 15:23

According to Section 11.6 in the beamer user guide, you can add the following lines to the preambles of your latex code to meet the requirements:

\setbeamertemplate{caption}[numbered]


Then, you'll see the figures and tables are numbered with prefix like "Figure X: " or "Table Y: ". And I think it is the most elegant way in satisfying the original requirements in this post.

-