# [pstricks] slideshow

Kirk Blazek Kirk.D.Blazek at caam.rice.edu
Wed Jul 9 18:59:12 CEST 2008

Beamer commands like \only<2->{...} are fully compatible with pstricks.
Whether you include them with \include or inline, you can use these
commands to make the different drawn elements be revealed slide by slide.

A very simple example:

\frame{
\begin{pspicture}(0,-0.5)(1,1)
\only<2->{\psline{->}(2,2.5)(2.5,-1.72)
\psline{->}(2,2.5)(2.75,0.4)}
\only<3->{\psline{->}(2.5,-1.72)(2.7,-1)
\psline{->}(2.75,0.4)(2.8,1)}
\end{pspicture}
}

This will have nothing drawn the first slide, two lines the second
slide, then adds two more lines for the third.

Hope this helps.

-Kirk

Doris Wagner wrote:
> hi list,
>
> I want to prepare slideshows for illustrating geometrical proofs,
> using pstricks and -- if possible -- beamer.
>
> I'd like to show a sequence of slides, growing step by step, for
> example:
>
> 1. slide: a point
> 2. slide: another point
> 3. slide: a line joining those points
>
> ...
>
> of course, the pictures I have in mind are a lot more complicated than
> this example, and I don't want to have to repeat the hitherto existing
> code for every new slide, especially because if at the end I want to
> chance something (for example the label of the fist point), it woult
> be quite stupid to copy and paste all the time.
>
> so my question:
>
> has anyone experiences with such sequences of slideshows? can it be
> done with some include-file, where I could set marks and tell beamer
> on slideshow XY to read the include-file only to mark XY, for example?
>
> any suggestions would be welcome!
>
> TIA
> d
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
>