Search found 2 matches

by replika
Wed Nov 18, 2009 3:30 am
Forum: General
Topic: listings: Overlay
Replies: 2
Views: 1996

listings: Overlay

josephwright wrote:Please post a full example. Are you using the fragile option for your slides?
Yes, of course.
My code just works fine if using lstset (the second code block in the first post), but not if I pass as a parameter of "mylst" environment (third code block in the first post)
by replika
Tue Nov 17, 2009 4:43 pm
Forum: General
Topic: listings: Overlay
Replies: 2
Views: 1996

listings: Overlay

Hi there.
I have defined a listings block:
\lstdefinestyle{mystyle}{...}%
{\lstnewenvironment{mylst}[1][]{%
\lstset{style=mystyle}%
\lstset{#1}%
}{}%
...
\begin{mylst}[numbers=left]
...
\end{mylst}

Now, I am trying to use overlay in listings environments in my presentation (beamer).
I googled a ...