|
Welcome to the PSTricks web site Seminar class |
![]() | ||||||||||||||||||||||||
|
beamer class |
Overlays |
To get overlays, which print all preceding ones ("cumulative overlays") write the following in the preamble: \makeatletter
\def\pst@initoverlay#1{%
\pst@Verb{%
/BeginOL {dup (all) eq exch TheOL le or
{IfVisible not {Visible /IfVisible true def} if}
{IfVisible {Invisible /IfVisible false def} if}
ifelse} def
\tx@InitOL /TheOL (#1) def}%
}
\def\AltOverlayMode{%
\def\pst@initoverlay##1{%
\pst@Verb{%
/BeginOL {dup (all) eq exch TheOL le or
{IfVisible not {Visible /IfVisible true def} if}
{IfVisible {Invisible /IfVisible false def} if}
ifelse} def
\tx@InitOL
/Visible { initclip } def
/Invisible {CP newpath OLUnit itransform moveto clip newpath moveto} def
/TheOL (##1) def
}%
}%
}
\makeatother
With this additional code it is possible to show first nodes and then the
node connections. Here is a simple example. The
LaTeX Source is also available. To get the PDF
output use VTeX/Free for Linux or
run
latex <file>.tex dvips -t landscape -Ppdf -G0 <file>.dvi ps2pdf <file>.psFor more examples on seminar go the TUG web site. |
||||||||||||||||||||||||