Yihui Xie

Numbered Figure/Table Captions in beamer

Yihui Xie / 2010-08-22

I’m really surprised that most beamer slides I’ve ever seen have Figure/Table captions like this:

Figure: blabla blabla


Table: blabla blabla

which should have been Figure 1 or Table 2.

Why are the caption numbers missing? This is because beamer does not produce these numbers by default. To enable numbered captions, you have to put this in the preamble of your LaTeX document:


I’m a picky LaTeX users… I cannot stand captions without numbers.