David Soukal wrote:
I have one more question regarind the OPT boxes. I don't know whether
it's a bug or whether I missed something, but I cannot insert the OPT
box for environments where it should be possible. For example, the
author of Beamer recommends to enter an optional argument "fragile" for
the frame environment in situations when the frame contains verbatim
text. I didn't manage to get OPT for the BeginFrame environment in LyX.
I tried a trick with an ERT box with [fragile], set right at the
beginning of the frame. But it won't work because it creates LaTeX code
\lyxframe{[fragile]...}
This is normal behavior. For instance, if you put [<+->] in ERT at the
beginning of the frame title, you'll get \lyxframe{[<+->]...} where ...
is the frame title text, and it will function correctly (itemized
entries will automatically trigger new overlays). So I think the
problem with "fragile" may be a defect in the coding of the lyxframe macro.
You might want to e-mail a report of this to Till Tantau, the author of
the Beamer package (including the beamer.layout file).
Paul
- Re: how to insert optional arguments? Paul A. Rubin
-