[pstricks] PSTricks Digest, Vol 119, Issue 1

Herbert Voss Herbert.Voss at FU-Berlin.DE
Tue Dec 4 23:24:00 CET 2012

Am 04.12.2012 13:36, schrieb Cyrille Piatecki:

>>> if I understand  in pst-tools \psPrintValue print the postscript
>>> calculated value and only that. How could I keep the value et reuse it.
>> on PS or TeX-Level ?

> Both

you need the latest pst-tools.tex from 
It knows the option VarName for saving the value.

\def\showPSVal{ gsave 0 0 translate 1 -1 scale
   10 string cvs /Helvetica findfont 100 scalefont setfont  show grestore }


\psPrintValue[PSfont=Helvetica,xShift=-10,VarName=myVal]{ 1.44 ACOSH dup  }

\pstVerb{ myVal 10 string cvs 0 0 moveto show }

\multido{\iA=0+30}{12}{\rput(2;\iA){\pstVerb{ myVal \showPSVal grestore}}}



More information about the PSTricks mailing list