When verbatim environment is used inside a slide with
overlays, it doesn't work. For example the following
code works OK as is, but if I remove the comments in
the overlays commands, it gives the following error:
Runaway argument?
int a, b, c, d, e; a = b + c + d + e; \end {verbatim}
! Paragraph ended before \@xverbatim was complete.
<to be read again>
\par
l.297 }
Line 297 is the '}' closing the overlays command.
Thanks.
Dani.
----------------offending Prosper
code------------------------
%\overlays{2}{%
\begin{slide}{Operaciones aritméticas}
żCómo se traduce en ensamblador la expresión en C:
\begin{verbatim}
int a, b, c, d, e;
a = b + c + d + e;
\end{verbatim}
suponiendo la asignación de registros: a->s0, b->s1,
c->s2, d->s3 y e->s4:
%\onlySlide{2}{
Se necesitan ahora tres instrucciones:
\begin{verbatim}
add $s0, $s1, $s2 # a contiene b+c
add $s0, $s0, $s3 # ahora a vale b+c+d
add $s0, $s0, $s4 # y por fin a es b+c+d+e
\end{verbatim}
%}
\end{slide}
%}
Logged In: YES
user_id=737786
I was able to use \begin{alttt} ... \end{alttt} instead of
verbatim.
You have to include the alttt package before you can use this.
Also, to get a new line you have to leave a space between
two rows.
Logged In: NO
It would be most helpful if this could be fixed - it can be
quite limiting.
Great package - many thanks!
Logged In: NO
this is REALLY ANNOYING and it was very hard to find the information that it is even a bug. Consider using beamer.