I am currently learning how to use Beamer and would like to create a frame that presents 3 techniques for reduction of a class of objects (given with itemize
). The first technique is the largest among the three and consists of 2 big equations, say Eq1 and Eq2. My desire is to present it with \only<2-4>
- in other words, in the first step I wish the name of the technique to appear, then in steps <3-4>
to show the two equations, and at step 5
all of these to disappear and to make place for the other information. What I tried is:
\begin{frame}{Techniques}
\begin{itemize}
\only<2-4> {\item Technique 1:
\pause
\begin{equation*} Eq1 \end{equation*}
\pause
\begin{align*} Eq2 \\ Eq2+ \end{align*}
}
\item<5-> Technique 2:
\begin{equation*} Eq 3 \end{equation*}
\item<6-> Technique 3: \pause
\hspace{1em} Algorithm 1 \pause
\hspace{1em} Algorithm 2 \pause
\hspace{1em} Algorithm 3
\end{itemize}
\vfill
\end{frame}
however, this doesn't work. It gives directly the name Technique 1
and Eq1 (at step 2
), then Eq2 appears (at step 3
) and at the final step 4
nothing happens. Is there a way to fix this?
PS A similar problem appears with Technique 3
, where all algorithms appear at once (while I'd like to have them appearing one by one). I suppose though that, if I learn how to fix the above problem, I shall be able to work this one out, too...