[pstricks] pstricks-add

Herbert Voss LaTeX at zedat.fu-berlin.de
Wed Oct 4 00:27:09 CEST 2006


Henning Bredel wrote:

> 9-(x-4)^2  ==> 9 x 4 sub dup mul sub
>                                         ^^^^^^
>                                         does dup only doubles a term, so 
> I have to add the operator mul?
> I have in mind, that dup is for both doubling and multiplying (I didn´t 
> use the PS-reduction in
> mathterms before but I guess I read it somewhere).

dup does as the name duplicate says, nothing else
than putting a copy of the last element on stack.
sqr is a dup with mul. Could be read in _any_ PS manual

Herbert


-- 
LaTeX und Perl in der ZEDAT: http://userpage.fu-berlin.de/~latex





More information about the PSTricks mailing list