Hi,
I'm creating a presentation using the beamer LaTex package. Beamer comes with an environment called "semiverbatim" which is like "verbatim", but allows you to place commands inside the environment. This is useful in beamer to control how the overlays of a frame unfold. For example:
\begin{frame}[fragile, shrink]
\frametitle{Some Code Sample}
\begin{semiverbatim}
private String foobar() \{
String s = "val"
\alert<2->{s = null};}
return s;
\}
\end{semiverbatim}
\end{frame}
This will cause the third line to appear red in the second stage of the frame transition.
This is all good and fine, however, the "semiverbatim" environment, much like the "verbatim" environment, is pretty limited. I would like to use the "Verbatim" environment from the fancyvrb package.
Is there anyway to use "Verbatim" in the same way "semiverbatim" is used?