Re: Using listings package with beamer.

2007-05-19 Thread Bo Peng
"You can pass options and an overlay specification to a frame by giving these in TEX-mode as the first thing in the frame title. (Some magic is performed to extract them in LYX-mode from there.)" I tried <[fragile]> [] [fragile] Nothing works. See attached. Bo beamer-listings.lyx Descriptio

Re: Using listings package with beamer.

2007-05-18 Thread Martin Vermeer
On Sat, May 19, 2007 at 12:18:20AM -0500, Bo Peng wrote: > Dear all, > > I am trying to use listings with beamer, I learned > that > > 1. beamer 3.07 is required. > > 2. listings can not be float (understandable) > > 3. the option fragile after \begin{frame} is > necessary. > > How would I i

Re: Using listings package with beamer.

2007-05-18 Thread Jürgen Spitzmüller
Bo Peng wrote: > How would I insert this [fragile] option in lyx? Citing beameruserguide, p. 48: "You can pass options and an overlay specification to a frame by giving these in TEX-mode as the first thing in the frame title. (Some magic is performed to extract them in LYX-mode from there.)" Jür

Using listings package with beamer.

2007-05-18 Thread Bo Peng
Dear all, I am trying to use listings with beamer, I learned that 1. beamer 3.07 is required. 2. listings can not be float (understandable) 3. the option fragile after \begin{frame} is necessary. How would I insert this [fragile] option in lyx? Bo