Este es mi preámbulo:
\documentclass{beamer}
\usetheme{CambridgeUS}
\usepackage{graphicx,mathabx}
\begin{document}
\begin{frame}
\titlepage
\frametitle{}
\end{frame}
\begin{frame}
\frametitle{Main Results}
\framesubtitle{Graphical Analysis}
\begin{figure}[h!]
\centering\includegraphics[width=0.6\textwidth] {example-image}
\caption{Effect of increasing $\widecheck{G}$, and decreasing $\widehat{G}$ on $x^*$}
\end{figure}
\end{frame}
\begin{frame}
\frametitle{Appendices}
\framesubtitle{Appendix 2}
\begin{table}[htbp]
\caption{Parametric values}
\begin{center}
\begin{tabular}{|c|c|c|}\hline
Parameter & Value\\\hline
$\alpha$ & 0.6\\
$\beta$ & 0.5\\
$\widehat{G}$ & 90\\
$\widecheck{G}$ & 50\\
$\bar{P}$ & 10\\\hline
\end{tabular}
\end{center}
\end{table}
\end{frame}
\end{document}
Quiero numerar mis figuras y tablas, como por ejemplo "Figura 1: El título", "Tabla 1: Título". En este momento, sólo tengo "Figura:" y "Tabla:". Esto es para todas las figuras y tablas y no están numeradas. Además, quiero que se incluyan los dos puntos.
Respuesta1
Especifique que desea utilizar la numbered
plantilla asociada con caption
s. Es decir, agregar
\setbeamertemplate{caption}[numbered]{}% Number float-like environments
a su preámbulo:
\documentclass{beamer}
\usetheme{CambridgeUS}
\usepackage{graphicx,mathabx}
\setbeamertemplate{caption}[numbered]{}% Number float-like environments
\begin{document}
\begin{frame}
\titlepage
\frametitle{}
\end{frame}
\begin{frame}
\frametitle{Main Results}
\framesubtitle{Graphical Analysis}
\begin{figure}[h!]
\includegraphics[width=0.6\textwidth] {example-image}
\caption{Effect of increasing $\widecheck{G}$, and decreasing $\widehat{G}$ on $x^*$}
\end{figure}
\end{frame}
\begin{frame}
\frametitle{Appendices}
\framesubtitle{Appendix 2}
\begin{table}[htbp]
\caption{Parametric values}
\begin{tabular}{|c|c|c|}\hline
Parameter & Value\\\hline
$\alpha$ & 0.6\\
$\beta$ & 0.5\\
$\widehat{G}$ & 90\\
$\widecheck{G}$ & 50\\
$\bar{P}$ & 10\\\hline
\end{tabular}
\end{table}
\end{frame}
\end{document}
No veo el beneficio real de numerar flotadores en unbeamer
presentación, ya que la audiencia perderá las referencias dentro de dicha presentación. Lo mejor sería volver a visitar una diapositiva (usando algo como \againframe
) para refrescar la memoria de la audiencia sobre alguna figura/tabla.