summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pst-tools
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-05-16 21:12:50 +0000
committerKarl Berry <karl@freefriends.org>2014-05-16 21:12:50 +0000
commit1c26998ba324331b711efc275ccf9768955b03da (patch)
tree84faa894e1be71b207d297620973e14dd4ef6b18 /Master/texmf-dist/doc/generic/pst-tools
parent94365af0a08973d86dbc35062e45d224cf74f5f5 (diff)
pst-tools (16may14)
git-svn-id: svn://tug.org/texlive/trunk@34067 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/pst-tools')
-rw-r--r--Master/texmf-dist/doc/generic/pst-tools/Changes2
-rw-r--r--Master/texmf-dist/doc/generic/pst-tools/pst-tools-doc.pdfbin68588 -> 68714 bytes
-rw-r--r--Master/texmf-dist/doc/generic/pst-tools/pst-tools-doc.tex31
3 files changed, 18 insertions, 15 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-tools/Changes b/Master/texmf-dist/doc/generic/pst-tools/Changes
index fecbea12802..f389a55b24a 100644
--- a/Master/texmf-dist/doc/generic/pst-tools/Changes
+++ b/Master/texmf-dist/doc/generic/pst-tools/Changes
@@ -1,4 +1,6 @@
..... pst-tools.tex
+0.05 2014-05-12 - new optional arguments for printing values
+ on PS level
0.04 2013-07-08 - ???
0.03 2012-12-04 - added option for \psPrintValue to save
the value
diff --git a/Master/texmf-dist/doc/generic/pst-tools/pst-tools-doc.pdf b/Master/texmf-dist/doc/generic/pst-tools/pst-tools-doc.pdf
index e8b97a905d6..e3e25b7fded 100644
--- a/Master/texmf-dist/doc/generic/pst-tools/pst-tools-doc.pdf
+++ b/Master/texmf-dist/doc/generic/pst-tools/pst-tools-doc.pdf
Binary files differ
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 20691f8e678..c825dbaa38d 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
@@ -50,7 +50,8 @@ There are the following valid options for \Lcs{psPrintValue}:
prints all possible digits.\\
\Lkeyword{xShift} & <number> & 0 & the x shift in pt for the output, relative to the current point.\\
\Lkeyword{algebraic} & <boolean> & false & function in algebraic notation.\\
-\Lkeyword{VarName} & <string> & \{\} & saves the value in /<VarName> for further use
+\Lkeyword{VarName} & <string> & \{\} & saves the value in /<VarName> for further use\\
+\Lkeyword{comma} & <boolean> & false & comma instead of the dor for decimals\\
\end{tabularx}
\begin{center}
@@ -61,8 +62,8 @@ There are the following valid options for \Lcs{psPrintValue}:
\makebox[1em]{\iA}
\makebox[5em]{\psPrintValue[PSfont=Helvetica,xShift=-10]{\iA\space sin}}
\makebox[4em][r]{\psPrintValue[PSfont=Courier,fontscale=10,decimals=3,xShift=-20]{\iA\space cos}}\hspace{1em}
- \makebox[5em]{\psPrintValue[dot,valuewidth=15,linecolor=blue,PSfont=AvantGarde]{\iA\space sqrt}}
- \makebox[7em]{\psPrintValue[PSfont=Times-Italic]{\iA\space dup sin exch cos add}}
+ \makebox[5em]{\psPrintValue[valuewidth=15,linecolor=blue,PSfont=AvantGarde]{\iA\space sqrt}}
+ \makebox[7em]{\psPrintValue[comma,PSfont=Times-Italic]{\iA\space dup sin exch cos add}}
\makebox[6em]{\psPrintValue[PSfont=Palatino-Roman]{\iA\space dup sin dup mul exch cos dup mul add}}\\}
\end{center}
@@ -76,8 +77,8 @@ There are the following valid options for \Lcs{psPrintValue}:
\makebox[1em]{\iA}
\makebox[5em]{\psPrintValue[PSfont=Helvetica,xShift=-10]{\iA\space sin}}
\makebox[4em][r]{\psPrintValue[PSfont=Courier,fontscale=10,decimals=3,xShift=-20]{\iA\space cos}}\hspace{1em}
- \makebox[5em]{\psPrintValue[dot,valuewidth=15,linecolor=blue,PSfont=AvantGarde]{\iA\space sqrt}}
- \makebox[7em]{\psPrintValue[PSfont=Times-Italic]{\iA\space dup sin exch cos add}}
+ \makebox[5em]{\psPrintValue[valuewidth=15,linecolor=blue,PSfont=AvantGarde]{\iA\space sqrt}}
+ \makebox[7em]{\psPrintValue[comma,PSfont=Times-Italic]{\iA\space dup sin exch cos add}}
\makebox[6em]{\psPrintValue[PSfont=Palatino-Roman]{\iA\space dup sin dup mul exch cos dup mul add}}\\}
\end{lstlisting}
@@ -93,8 +94,8 @@ Pay attention, in algebraic notation angles must be in radian and not degrees.
\multido{\rA=0+0.1}{18}{\makebox[1em]{\rA}
\makebox[5em]{\psPrintValue[PSfont=Helvetica,xShift=-10]{\rA, sin(x)}}
\makebox[4em][r]{\psPrintValue[PSfont=Courier,fontscale=10,decimals=3,xShift=-20]{\rA,cos(x)}}\hspace{1em}
- \makebox[5em]{\psPrintValue[dot,valuewidth=15,linecolor=blue,PSfont=AvantGarde]{\rA,sqrt(x)}}
- \makebox[7em]{\psPrintValue[PSfont=Times-Italic]{\rA,sin(x)+cos(x)}}
+ \makebox[5em]{\psPrintValue[valuewidth=15,linecolor=blue,PSfont=AvantGarde]{\rA,sqrt(x)}}
+ \makebox[7em]{\psPrintValue[comma,PSfont=Times-Italic]{\rA,sin(x)+cos(x)}}
\makebox[6em]{\psPrintValue[PSfont=Palatino-Roman]{\rA,sin(x)^2+cos(x)^2}}\\}
\end{center}
@@ -107,28 +108,28 @@ Pay attention, in algebraic notation angles must be in radian and not degrees.
\multido{\rA=0+0.1}{18}{\makebox[1em]{\rA}
\makebox[5em]{\psPrintValue[PSfont=Helvetica,xShift=-10]{\rA, sin(x)}}
\makebox[4em][r]{\psPrintValue[PSfont=Courier,fontscale=10,decimals=3,xShift=-20]{\rA,cos(x)}}\hspace{1em}
- \makebox[5em]{\psPrintValue[dot,valuewidth=15,linecolor=blue,PSfont=AvantGarde]{\rA,sqrt(x)}}
- \makebox[7em]{\psPrintValue[PSfont=Times-Italic]{\rA,sin(x)+cos(x)}}
+ \makebox[5em]{\psPrintValue[valuewidth=15,linecolor=blue,PSfont=AvantGarde]{\rA,sqrt(x)}}
+ \makebox[7em]{\psPrintValue[comma,PSfont=Times-Italic]{\rA,sin(x)+cos(x)}}
\makebox[6em]{\psPrintValue[PSfont=Palatino-Roman]{\rA,sin(x)^2+cos(x)^2}}\\}
\end{lstlisting}
\begin{center}
-foo \makebox[2em][l]{\psPrintValue[dot]{3.14 10 mul round 10 div}}bar\\3pt
-foo \makebox[2em][l]{\psPrintValue[dot,PSfont=Symbol,
+foo \makebox[2em][l]{\psPrintValue[comma]{3.14 10 mul round 10 div}}bar\\3pt
+foo \makebox[2em][l]{\psPrintValue[comma,PSfont=Symbol,
postString=\string\260]{3.14 10 mul round 10 div}}bar\\3pt
-foo \makebox[3.5em][l]{\psPrintValue[dot,PSfont=Symbol,decimals=6,
+foo \makebox[3.5em][l]{\psPrintValue[PSfont=Symbol,decimals=6,
postString=\string\260]{3.14 dup mul}}bar
\end{center}
\bigskip
\begin{lstlisting}
-foo \makebox[2em][l]{\psPrintValue[dot]{3.14 10 mul round 10 div}}bar\\3pt
-foo \makebox[2em][l]{\psPrintValue[dot,PSfont=Symbol,
+foo \makebox[2em][l]{\psPrintValue[comma]{3.14 10 mul round 10 div}}bar\\3pt
+foo \makebox[2em][l]{\psPrintValue[comma,PSfont=Symbol,
postString=\string\260]{3.14 10 mul round 10 div}}bar\\3pt
-foo \makebox[3.5em][l]{\psPrintValue[dot,PSfont=Symbol,decimals=6,
+foo \makebox[3.5em][l]{\psPrintValue[PSfont=Symbol,decimals=6,
postString=\string\260]{3.14 dup mul}}bar
\end{lstlisting}