[pstricks] I still have a problem

Herbert Voss Herbert.Voss at FU-Berlin.DE
Fri Dec 25 08:04:52 CET 2009


Am 24.12.2009 15:51, schrieb wono at math.itb.ac.id:
> I still have the same problem. There is a shift in position if we have two
> \multido command.
> 
> I sent a latex file and the result.

\multido do not like empty lines or spaces ...

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


Herbert


More information about the PSTricks mailing list