[pstricks] Help

Herbert Voss Herbert.Voss at FU-Berlin.DE
Wed Dec 23 08:38:48 CET 2009


Am 23.12.2009 05:26, schrieb wono at math.itb.ac.id:

> I have a little animation using beamer and pstricks. Without beamer, teh
> result of the pstricks is fine, but with beamer there is always false
> position. Would you like to help me?

it is senseless using the LaTeX command \put, it does not
takes the PSTricks origin into account. Use _always_
PSTricks commands:

\documentclass{beamer}
\usepackage{pstricks-add}

\begin{document}

\begin{frame}
\begin{pspicture}(11,1)
\psline[linewidth=2pt](0,0)(11,0)
\multido{\nK=0.40+0.01,\nL=0+1}{11}{%
  \uncover<+->{\psline(\nL,0)(\nL,-0.2)\uput[-90](\nL,-0.2){\nK}}}
\multido{\nK=0.401+0.010,\nL=0.1+1.0}{11}{%
  \uncover<+->{\psline(\nL,0)(\nL,0.2)\uput[90](\nL,.2){\nK}}}
\end{pspicture}
\end{frame}

\end{document}


Herbert


More information about the PSTricks mailing list