Re: parsetree in overlay environment
Karl-Michael Schneider <[email protected]>
| Newsgroups | gmane.comp.tex.latex.prosper.user |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Jul 01, 2003 at 02:16:43PM -0700, Chris Stork wrote:
> Hi,
>
> I'm trying to use trees generated with parsetree.sty on slides with overlays.
>
> Here's an example:
>
> \overlays{3}{
> \begin{slide}{Item step test}
>
> \begin{parsetree}
> ( .A. `X' )
> \end{parsetree}
>
> \begin{itemize}
> \onlySlide{1}{
> \item one}
> \fromSlide{2}{
> \item two}
> \fromSlide{3}{
> \item three}
> \end{itemize}
>
> \end{slide}
> }
>
> Without the overlays, the tree is dispalyed as
>
> A
> |
> X
>
> Without it I get the same literal content of the parsetree environment:
>
> ( .A. `X' )
>
> I tried to fix it by inserting \protect around all the commands of the
> parsetree environ but to no avail.
>
> Any hints?
Don't use (.A. and ), use \ptbeg, \ptend, \ptnode and \ptleaf instead (see
section 2.3 of the parsetree documentation).
Karl-Michael
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01