[pstricks] Name conflicts with multido and the fltpoint package

Jean-Côme Charpentier Jean-Come.Charpentier at wanadoo.fr
Fri Jan 13 14:29:08 CET 2006


dpstory at uakron.edu wrote:
> The recent version of multido implements two macros named \fpAdd and \fpSub
> 
> \fpAdd{num1}{num2}{command}
> \fpSub{num1}{num2}{command}
> 
> The floating point package, which we use to create animations for out 
> AcroTeX Presentation Bundle (APB) uses the fltpoint package. In that 
> package, there is defined
> 
> \fpAdd{command}{num1}{num2}
> \fpSub{command}{num1}{num2}
> 
> Same functionality, but different argument order.
> 
> Here is a typically usage from one of our animation files
> 
> \multido{\i=1+1}{41}{\frame\fpAdd{\xi}{\xi}{\myDelta}\fpAdd{\ai}{\ai}{\myDeltaA}}
> 
> The first LaTeX error is
> 
> ! Argument of \multido at temp has an extra }.
> 
> 
> Any solutions? I know, switch to fp package.

\documentclass[...]{...}
...
\uespackage{fp}
\let\FPADD\fpAdd
\let\FPSUB\fbSub
\usepackage{multido}
...

And use \FPADD and \FPSUB rather than \fpAdd and \fpSub.

   Jean-Côme Charpentier




More information about the PSTricks mailing list