Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Removing "Figure" from figure captions in beamer ?

3,826 views
Skip to first unread message

Geico Caveman

unread,
Oct 30, 2008, 8:39:17 PM10/30/08
to
Hello,

I am using beamer to put together a presentation for a meeting. I use the
following code for inserting a figure :

\begin{figure}
\resizebox{45mm}{!}{\includegraphics{figure1.jpg}}
\caption{This is a figure.}
\label{fig:fig1}
\end{figure}

This produces a caption :

"Figure: This is a figure."

I wish to produce :

"This is a figure."

(The word "Figure" is serving no useful purpose and makes the thing look
like a fake text document.).

Is there a way to accomplish this ?

Enrico Gregorio

unread,
Oct 30, 2008, 9:05:04 PM10/30/08
to
Geico Caveman <spammer...@spam.invalid> wrote:

Is the label really necessary in a presentation? Referring to figures
by numbers in a presentation is pretty useless, since members of the
audience have no way to go back and see it themselves.

Probably a simple

\begin{center}
\includegraphics[width=45mm]{figure1}\\
This is a figure
\end{center}

is sufficient. In case you need to jump back or forward to the figure,
use the means provided by beamer.

Alternatively use the caption package:

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

Ciao
Enrico

Geico Caveman

unread,
Nov 3, 2008, 3:38:03 PM11/3/08
to
Enrico Gregorio wrote:

>> Is there a way to accomplish this ?
>
> Is the label really necessary in a presentation? Referring to figures

Just as a target for possible hyperlinks.

> by numbers in a presentation is pretty useless, since members of the
> audience have no way to go back and see it themselves.
>
> Probably a simple
>
> \begin{center}
> \includegraphics[width=45mm]{figure1}\\
> This is a figure
> \end{center}
>
> is sufficient. In case you need to jump back or forward to the figure,
> use the means provided by beamer.

I will look into this.

>
> Alternatively use the caption package:
>
> \usepackage{caption}
> \captionsetup{labelformat=empty,labelsep=none}
>

Does not work for me.

Ulrich M. Schwarz

unread,
Nov 3, 2008, 4:49:20 PM11/3/08
to
On Thu, 30 Oct 2008 17:39:17 -0700, Geico Caveman wrote:
[...]

> This produces a caption :
> "Figure: This is a figure."
>
> I wish to produce :
> "This is a figure."
>
> (The word "Figure" is serving no useful purpose and makes the thing look
> like a fake text document.).
>
> Is there a way to accomplish this ?

Change beamertemplate "caption" to not call \insertcaptionname. (I wish I
had a cent for every time a beamer-related question can be answered by
opening the manual, looking at the list of beamer-templates in the index,
briefly looking at the description to verify it's the right thing.)

Ulrich

Geico Caveman

unread,
Nov 4, 2008, 5:13:18 PM11/4/08
to
Ulrich M. Schwarz wrote:

Then you would probably be a very rich man.

Thanks !

0 new messages