summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pstricks-add
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-11-19 00:14:41 +0000
committerKarl Berry <karl@freefriends.org>2009-11-19 00:14:41 +0000
commit4d009ca7c9f1312489e10e6956242106b57d57bc (patch)
tree9c096d917ee536ce8365a79b532b34f3cd0c0a59 /Master/texmf-dist/doc/generic/pstricks-add
parent8968ecaf8fa9c4e06cdc046034b4ffd9569df83f (diff)
pstricks-add update
git-svn-id: svn://tug.org/texlive/trunk@16068 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/pstricks-add')
-rw-r--r--Master/texmf-dist/doc/generic/pstricks-add/Changes5
-rw-r--r--Master/texmf-dist/doc/generic/pstricks-add/README2
-rw-r--r--Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.pdfbin2418348 -> 2423691 bytes
-rw-r--r--Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex29
4 files changed, 25 insertions, 11 deletions
diff --git a/Master/texmf-dist/doc/generic/pstricks-add/Changes b/Master/texmf-dist/doc/generic/pstricks-add/Changes
index f38c0436198..0ece23c03ad 100644
--- a/Master/texmf-dist/doc/generic/pstricks-add/Changes
+++ b/Master/texmf-dist/doc/generic/pstricks-add/Changes
@@ -1,4 +1,4 @@
-%% $Id: Changes 138 2009-10-13 11:40:24Z herbert $
+%% $Id: Changes 148 2009-11-14 09:01:39Z herbert $
%%
pstricks-add.pro -----------
v 0.22 2009-03-17 - add LineByHand stuff
@@ -36,6 +36,8 @@ pstricks-add.sty ----------- (hv)
pstricks-add.tex ----------- (Dominik Rodriguez/hv)
+ v 3.36 2009-11-14 - fix bug with missing \def\pst@par in objects
+ - add \pstGetDistance
v 3.35 2009-08-13 - fix bug with trailing space in \psaxes@vi
- fix bug with star version of psplotTangent
take care of math mode for comma or dot
@@ -242,4 +244,5 @@ pstricks-add.tex ----------- (Dominik Rodriguez/hv)
pst-fp.tex ----------- (hv)
+ v 0.03 2009-11-14 add \pstFPmul
v 0.02 2009-04-02 initial version
diff --git a/Master/texmf-dist/doc/generic/pstricks-add/README b/Master/texmf-dist/doc/generic/pstricks-add/README
index 15d83ae5b24..852dd71f408 100644
--- a/Master/texmf-dist/doc/generic/pstricks-add/README
+++ b/Master/texmf-dist/doc/generic/pstricks-add/README
@@ -46,7 +46,7 @@ to the pstricks mailing list and has some more new features:
pstricks-add.pro : the prolog file for pstricks-add
pstricks-add-doc.tex: the included doc file
-pst-fp.tex : for floating point division
+pst-fp.tex : for floating point multiplication and division
Save the files pstricks-add.sty|pro|tex and pst-fp.tex in a directory,
which is part of your local TeX tree. The pro file should go
diff --git a/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.pdf b/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.pdf
index f413eff9196..44beefe0dd0 100644
--- a/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.pdf
+++ b/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex b/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex
index cfe3e882030..07867645eb8 100644
--- a/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex
+++ b/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex
@@ -1,4 +1,4 @@
-%% $Id: pstricks-add-doc.tex 122 2009-08-13 07:21:10Z herbert $
+%% $Id: pstricks-add-doc.tex 149 2009-11-14 09:11:05Z herbert $
\documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings
headexclude,footexclude,oneside]{pst-doc}
\listfiles
@@ -336,33 +336,44 @@ throughout, e.g. \verb+\let\modulo\pst@mod+.
\end{LTXexample}
%--------------------------------------------------------------------------------------
-\subsection{\nxLcs{pstFPDiv}}
+\subsection{\nxLcs{pstFPMul} and \nxLcs{pstFPDiv}}
%--------------------------------------------------------------------------------------
+Integer multiplication and division:
+
\begin{BDef}
+\Lcs{pstFPMul}\Largb{result as a truncated integer}\Largb{number}\Largb{number}\\
\Lcs{pstFPDiv}\Largb{result as a truncated integer}\Largb{number}\Largb{number}
\end{BDef}
\begin{LTXexample}[width=2cm]
\makeatletter
+\pstFPMul\Result{-3.405}{0.02345} \Result\quad
\pstFPDiv\Result{-3.405}{0.02345} \Result\\
+\pstFPMul\Result{0.02345}{-3.405} \Result\quad
\pstFPDiv\Result{0.02345}{-3.405} \Result\\
+\pstFPMul\Result{234.123}{33} \Result\quad
\pstFPDiv\Result{234.123}{33} \Result
\makeatother
\end{LTXexample}
%--------------------------------------------------------------------------------------
-\subsection{\nxLcs{psGetSlope}}
+\subsection{\nxLcs{psGetSlope} and \nxLcs{psGetDistance}}
%--------------------------------------------------------------------------------------
\begin{BDef}
-\Lcs{psGetSlope}\Largr{\Coord1}\Largr{\Coord2}\Lcs{\Larga{macro}}
+\Lcs{psGetSlope}\Largr{\Coord1}\Largr{\Coord2}\Lcs{\Larga{macro}}\\
+\Lcs{psGetDistance}\Largr{\Coord1}\Largr{\Coord2}\Lcs{\Larga{macro}}
\end{BDef}
-\begin{LTXexample}[width=2cm]
-\psGetSlope(-2,1)(3,1)\SlopeVal \SlopeVal\\
-\psGetSlope(-2,1)(-3,-1)\SlopeVal \SlopeVal\\
-\psGetSlope(-2,0)(3,-1)\SlopeVal \SlopeVal\\
-\psGetSlope(-2111,-12)(3,1)\SlopeVal \SlopeVal
+\begin{LTXexample}[width=4cm]
+\psGetSlope(-2,1)(3,1)\SlopeVal \SlopeVal \quad
+\psGetDistance(-2,1)(3,1)\DVal \DVal\\
+\psGetSlope(-2,1)(-3,-1)\SlopeVal \SlopeVal\quad
+\psGetDistance(-2,1)(-3,-1)\DVal \DVal\\
+\psGetSlope(-2,0)(3,-1)\SlopeVal \SlopeVal\quad
+\psGetDistance(-2,0)(3,-1)\DVal \DVal\\
+\psGetSlope(-2111,-12)(3,1)\SlopeVal \SlopeVal\quad
+%\psGetDistance(-2111,-12)(3,1)\DVal ==> Overflow!
\end{LTXexample}
\clearpage