1

I'm having the following problem on the beamer:enter image description here

The resulting frame does not enumerate the figure, ie, I would like "Figure 1:" to appear instead of "Figure:". I am placing the commands I am using, but if it is placed as \documentclass{article} it enumerates normally.

\documentclass{beamer}
\usepackage{color}
\usepackage[portuguese]{babel}
\usepackage[utf8]{inputenc}
\usepackage{amssymb,amsmath} %para usar simbolos matematicos
\usepackage{amsfonts}
\usepackage{amsthm}
\usepackage{amscd}
\usepackage{beamerthemesplit}
\usepackage{graphicx}
\usepackage{float}
\usepackage{ragged2e}
\usepackage{tikz}

\begin{document} \begin{frame} \begin{figure}[!htb] \includegraphics[scale=0.5]{fig0} \caption{Esquematização do problema.} \end{figure}

\end{frame} \end{document}

Thanks for your help.

Croos
  • 225
  • 1
    Perhaps the name of the file isnt right?, thats the only warning I see, (since I don't have the fig0), did you try in other document class? running over article, etc, it did mark the figure as Figure 1, so it must be something messing with beamer – riccs_0x Jan 08 '21 at 17:40
  • 2
    BTW: You neither need the float package nor float placements like [!htb] in beamer, in beamer figure is a non-floating environment anyway (and float placements will be ignored). –  Jan 08 '21 at 19:24

1 Answers1

3

As noted in the dustin answer, all you have to do is

\setbeamertemplate{caption}[numbered]
riccs_0x
  • 1,087