As is known, algorithms and equations in latex are automatically numbered. When using \againframe though, incrementing such number is undesired. How to avoid this? (I still want numbering, but it will not change during each \againframe invocation).
A minimal working example is following. As can be seen, on second frame, the algorithm shows up with index number 2, rather than 1.
\documentclass{beamer}
\usepackage{beamerthemesplit}
\usepackage{algorithm}
\usepackage[noend]{algorithmic}
\usepackage{amsmath}
\floatname{algorithm}{Procedure}
\renewcommand{\algorithmicrequire}{\textbf{Input:}}
\renewcommand{\algorithmicensure}{\textbf{Output:}}
\begin{document}
\frame<1>[label=myframe]
{
\begin{algorithm}[H]
\caption{foobar()}
\begin{algorithmic}[1]
\alt<1>
{ \STATE run() }
{ \STATE \textbf{run()} }
\end{algorithmic}
\end{algorithm}
}
\againframe<2>{myframe}
\end{document}

\againframeincreases the equation numbering? – Gonzalo Medina Jul 25 '11 at 16:50