Is it possible to continue the sub-figure numbering across two frames in beamer?
I have four figures which are placed using subfigure, and need to place two on one frame and two on another. The ones on the first should be numbered (a) and (b), and the ones on the second should be (c) and (d).
Basic code
\begin{frame}
\begin{figure}
\centering
\begin{subfigure}[b]{0.45\textwidth}
\includegraphics[width=\textwidth]{1.png}
\caption{Fig1}
\label{fig:1}
\end{subfigure}
\begin{subfigure}[b]{0.45\textwidth}
\includegraphics[width=\textwidth]{2.png}
\caption{Fig2}
\label{fig:2}
\end{subfigure}
\caption{Caption.}
\label{fig:caption}
\end{figure}
\end{frame}
\begin{frame}
\begin{figure}
\centering
\begin{subfigure}[b]{0.45\textwidth}
\includegraphics[width=\textwidth]{3.png}
\caption{Fig3}
\label{fig:3}
\end{subfigure}
\begin{subfigure}[b]{0.45\textwidth}
\includegraphics[width=\textwidth]{4.png}
\caption{Fig4}
\label{fig:4}
\end{subfigure}
\caption{Caption.}
\label{fig:caption}
\end{figure}
\end{frame}
Best Answer
I consider that
subfigure
is obsolete and it is replace widthsubfig
orsubcaption
. In my MWE I selectsubfig
.