diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/pst-tools/pst-tools-doc.tex')
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-tools/pst-tools-doc.tex | 48 |
1 files changed, 43 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-tools/pst-tools-doc.tex b/Master/texmf-dist/doc/generic/pst-tools/pst-tools-doc.tex index 9be46ca3adc..2473feb2fed 100644 --- a/Master/texmf-dist/doc/generic/pst-tools/pst-tools-doc.tex +++ b/Master/texmf-dist/doc/generic/pst-tools/pst-tools-doc.tex @@ -1,6 +1,6 @@ -%% $Id: pst-tools-doc.tex 613 2017-10-04 07:29:50Z herbert $ -\documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false, - smallheadings, headexclude,footexclude,oneside]{pst-doc} +%% $Id: pst-tools-doc.tex 675 2017-12-03 08:39:12Z herbert $ +\documentclass[11pt,english,BCOR=10mm,DIV=13,toc=bibliography,parskip=false, + headings=small, headinclude=false,footinclude=false,oneside]{pst-doc} \usepackage[utf8]{inputenc} \usepackage{pst-tools} \let\pstToolsFV\fileversion @@ -213,8 +213,46 @@ It must be a comma separated list. \end{pspicture} - - +\section{List of the defined PostScript functions} + +\footnotesize +\begin{verbatim} +/Pi2 1.57079632679489661925640 def +/factorial { % n on stack, returns n! +/MoverN { % m n on stack, returns the binomial coefficient m over n +/ps@ReverseOrderOfPoints { % on stack [P1 P2 P3 ...Pn]=>[Pn,Pn-1,...,P2,P1] +/cxadd { % [a1 b1] [a2 b2] = [a1+a2 b1+b2] +/cxneg { % [a b] +/cxsub { cxneg cxadd } def % same as negative addition +/cxmul { % [a1 b1] [a2 b2] +/cxsqr { % % [a b]^2 = [a^2-b^2 2ab] = [a2 b2] +/cxsqrt { % +/cxarg { % [a b]->arg(z)=atan(b/a) +/cxlog { % [a b]->log[a b] = [a^2-b^2 2ab] = [a2 b2] +/cxnorm2 { % [a b]->a^2+b^2 +/cxnorm { % +/cxconj { % [a b]->[a -b] +/cxre { 0 get } def % real value +/cxim { 1 get } def % imag value +/cxrecip { % [a b]->1/[a b] = ([a -b]/(a^2+b^2) +/cxmake1 { 0 2 array astore } def % make a complex number, real given +/cxmake2 { 2 array astore } def % dito, both given +/cxdiv { cxrecip cxmul } def +/cxrmul { % [a b] r->[r*a r*b] +/cxrdiv { % [a b] r->[1/r*a 1/r*b] +/cxconv { % theta->exp(i theta) = cos(theta)+i sin(theta) polar<->cartesian +/bubblesort { % on stack must be an array [ ... ] +/concatstringarray{ % [(a) (b) ... (z)] --> (ab...z) 20100422 +/concatstrings{ % (a) (b) -> (ab) +/reversestring { % (aBC) -> (CBa) +/concatarray{ % [a c] [b d] -> [a c b d] +/dot2comma {% on stack a string (...) +/rightTrim { % on stack the string and the character number to be stripped +/psStringwidth /stringwidth load def +/psShow /show load def +\end{verbatim} + +\normalsize \clearpage \section{List of all optional arguments for \texttt{pst-tools}} |