I am giving a presentation and therefore I am using the beamer class. I have included some figures and it works, but there is no number after "Figure".

My code:





\setbeamerfont{page number in head/foot}{size=\large}
\setbeamertemplate{footline}[frame number]



\setbeamertemplate{background canvas}[default]


\caption{VaR as a quantile}



Which gives the following frame with the figure:


(I am not sure what is causing the problem, therefore I did not delete any package.)

How can I get a number, e.g. Figure 1:?

  • 2
    You should use \centering instead of \begin{center}\end{center}. Also, you have loaded the graphicx package 3 times and hyperref twice. beamer I believe automatically loads graphicx so you shouldn't need it at all.
    – dustin
    Aug 7, 2013 at 14:54
  • 2
    Others have answered your question, but to note the reasoning. In a presentation, cross-refs by number are usually a bad idea. So the standard beamer settings are not to have any such cross-ref numbers.
    – Joseph Wright
    Aug 7, 2013 at 15:36
  • 3
    @JenBohold Please make your example minimal the next time. Aug 7, 2013 at 18:06

2 Answers 2


To achieve numbering of figures, you need to set:


enter image description here




    \caption{VaR as a quantile}


  • I thought it was not recommended to use a floating environment (even though it is not floating here) in a presentation. Shouldn't the ctan.org/pkg/capt-of package be recommended here instead?
    – pluton
    Aug 8, 2013 at 5:32
  • @pluton, I believe that if you put a float inside a frame, it's not going to show up in another slide. The floating freedom is restricted to the other contents in the same frame. Feb 24, 2016 at 14:43

You can use the following:


\usepackage{lmodern} % get rid of warnings
\usepackage{caption} % improved spacing between figure and caption

\DeclareCaptionLabelSeparator{horse}{:\quad} % change according to your needs
  labelsep = horse,
  figureposition = bottom






Notice that there is no space between the figure number and the colon.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.