[pstricks] Re: pstricks and beamer transparency

Ales Horak ales.horak at gmail.com
Mon Oct 24 08:48:20 CEST 2005


Ales Horak wrote:
> I am using beamer with pstricks intensively in preparation of
> lecture slides about artificial intelligence. when I want to use
> beamer transparency effects the pstricks graphics does not change
> color to grey as the text does (I am attaching an example).

sorry, I forgot the example:

    \documentclass{beamer}

    \usepackage{pstricks}
    \usepackage{pst-tree}

    \beamerdefaultoverlayspecification{<+->}
    \setbeamercovered{transparent=25}

    \begin{document}

    \begin{frame}
    \frametitle{Sentence}
    \begin{itemize}
    \item item 1
    \item item 2
    \end{itemize}

    \onslide<+->
    \begin{center}
        \psset{nodesep=3pt,levelsep=8mm}
        \pstree{\TR{S}}{%
            \pstree{\TR{NP}}{%
                \pstree{\TR{A}}{%
                    \TR{Small} 
                }
                \pstree{\TR{N}}{%
                    \TR{John} 
                }
            }
            \pstree{\TR{VP}}{%
                \pstree{\TR{VP}}{%
                    \pstree{\TR{V}}{%
                        \TR{came}
                    }
                }
                \pstree{\TR{ADV}}{%
                    \TR{home}
                }
            }
        }
    \end{center}
    \end{frame}

    \end{document}

the resulting pdf can be viewed at
http://nlp.fi.muni.cz/poc_lingv/test-beamer.pdf

> is there a way to adapt (or use) pstricks to this behavior?
> the pstricks graphics may even be hidden completely before its
> turn - the grey color is not necessarry.

best regards,
-- 
Ales Horak
Faculty of Informatics
Masaryk University Brno
Czech Republic




More information about the PSTricks mailing list