Hello. I am using
\usepackage[section]{algorithm}
\usepackage{algorithmic}
\begin{frame}[fragile]
\begin{algorithm}[H]
\begin{algorithmic}[1]
\uncover<1->{\STATE $A \gets B$}
\uncover<2->{\STATE $C \gets D$}
\uncover<3->{\STATE $E \gets E$}
\end{algorithmic}
\end{algorithm}
\end{frame}
for the above simple algorithm in beamer presentation, on scrolling through each step of algorithm the algorithm caption number also changes eg. In my case it changes as
Algorithm 4.1 at step 1
Algorithm 4.2 at step 2
Algorithm 4.3 at step 3 of algorithm.
How to disable such numbering while uncovering the steps in algorithm.
Thanking you,
Prince George
Document Classes ⇒ Caption numbering of Algorithm in beamer
NEW: TikZ book now 40% off at Amazon.com for a short time.

-
- Posts: 2
- Joined: Mon May 02, 2011 7:30 pm
Re: Caption numbering of Algorithm in beamer
put the following in the preamble
\resetcounteronoverlays{algorithm}
\resetcounteronoverlays{algorithm}