summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-02-07 23:48:04 +0000
committerKarl Berry <karl@freefriends.org>2016-02-07 23:48:04 +0000
commit5cf9e8777154dbdf701a759384fe3bf4757ecfca (patch)
tree92abe81ca1118d164b0cbede61526c7196e0d485
parent8c91e2403bf36f6c4501689845f327d0285cfe54 (diff)
pstricks-add (7feb16)
git-svn-id: svn://tug.org/texlive/trunk@39618 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/generic/pstricks-add/Changes3
-rw-r--r--Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.pdfbin5189609 -> 5188103 bytes
-rw-r--r--Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex52
-rw-r--r--Master/texmf-dist/tex/generic/pstricks-add/pstricks-add.tex14
4 files changed, 55 insertions, 14 deletions
diff --git a/Master/texmf-dist/doc/generic/pstricks-add/Changes b/Master/texmf-dist/doc/generic/pstricks-add/Changes
index 3f5561567cc..eb4f6e6f844 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 136 2014-12-08 20:07:44Z herbert $
+%% $Id: Changes 254 2016-02-07 15:01:19Z herbert $
%%
pstricks-add.pro -----------
0.23 2009-12-17 - add RGBtoGRAY and WavelengthToGRAY
@@ -39,6 +39,7 @@ pstricks-add.sty ----------- (hv)
pstricks-add.tex ----------- (hv)
+ v 3.78 2016-02-07 - fix bug with strokeopacity for arrows
v 3.77 2014-12-08 - fix bug with sup/inf for \psStep
v 3.76 2014-11-29 - fix bug with color setting and \psrotate
v 3.75 2014-07-22 - use \pcline instead of \psline for \psRelLine
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 b4eaa746789..af98dfd5f87 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 fdc449c34ee..33bb8dde9e0 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 101 2014-09-02 14:37:17Z herbert $
+%% $Id: pstricks-add-doc.tex 254 2016-02-07 15:01:19Z herbert $
\documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings
headexclude,footexclude,oneside]{pst-doc}
\listfiles
@@ -630,6 +630,10 @@ and can be used by the user for coloring lines or text.
\end{LTXexample}
+
+
+
+
%\begin{LTXexample}[pos=t]
\psset{unit=1.5}
\begin{pspicture}(-3,-3)(3,3)
@@ -1458,7 +1462,7 @@ the following example was created by Patrice Mégret.
\end{pspicture}
\end{lstlisting}
-
+%$
%--------------------------------------------------------------------------------------
\section{\nxLcs{psIntersectionPoint}}
%--------------------------------------------------------------------------------------
@@ -1604,6 +1608,11 @@ with \Lkeyword{lower} as the default setting. The syntax of the function is
\Lcs{psStep}\OptArgs\Largr(x1,x2)\Largb{n}\Largb{function}
\end{BDef}
+%$
+
+
+
+
(x1,x2) is the given interval for the step wise calculated
function, n is the number of the rectangles and \Larg{function} is
@@ -2481,6 +2490,12 @@ Just appreciate the difference between the normal behavior and the plotting with
\egroup
\end{center}
+
+
+
+
+
+
\begin{lstlisting}
\begin{pspicture}[showgrid=true](-4,-2)(4,2)
\psset{algebraic}
@@ -3486,6 +3501,8 @@ The function $f$ is written in PostScript code:
exch RadtoDeg sin -9.8 mul %% y' -gsin(y)
\end{lstlisting}
+
+
\begin{center}
\bgroup
\def\Func{y[1]|-9.8*sin(y[0])}
@@ -5012,6 +5029,11 @@ end }
\end{pspicture}
\end{LTXexample}
+
+
+
+
+
\clearpage
The next example is a smooth path where subticks are drawn first, followed by major ticks.
The metric is arc-length with initial value $s=1$.
@@ -5032,6 +5054,9 @@ The metric is arc-length with initial value $s=1$.
\end{pspicture}
\end{LTXexample}
+
+
+
\clearpage
Suppose for the next example that we have an ellipse $x^2/a^2+y^2/b^2=1$ ($a>b$) with
eccentricity $\epsilon=(1-b^2/a^2)^{1/2}$. With planetary motion in mind, a natural metric
@@ -5059,6 +5084,10 @@ following, drawn for the case $a=4$, $b=3$.
\end{pspicture}
\end{LTXexample}
+
+
+
+
\clearpage
The next examples works without visible ticks, using the macros to construct nodes at which other objects will be placed.
@@ -5076,6 +5105,10 @@ The next examples works without visible ticks, using the macros to construct nod
\end{pspicture}
\end{LTXexample}
+
+
+
+
This variant also has no visible ticks, but makes a color gradient along the curve based on arc-length from the start.
\begin{LTXexample}[pos=t]
@@ -5093,12 +5126,14 @@ This variant also has no visible ticks, but makes a color gradient along the cur
Here is a another variant of this technique which allows arrows to be placed at locations
on the curve where the metric takes particular values.
+
+
+
\begin{LTXexample}[pos=t]
\begin{pspicture}(-1,-1)(10,4.5)
\psparametricplot[plotpoints=100]{0}{360}{t cos 1 add 5 mul t sin 1 add 2 mul}
\pscurvepoints[plotpoints=100]{0}{360}{t cos 1 add 5 mul t sin 1 add 2 mul}{P}%
-\pspolylineticks[Os=0,Ds=2.3,ticksize=0 0]{P}%
-{ ds }{0}{10}% distance
+\pspolylineticks[Os=0,Ds=2.3,ticksize=0 0]{P}{ ds }{0}{10}% distance
\multido{\i=0+1}{10}{\psrline[arrows=->,arrowscale=1.5](PTick\i)(2pt;{(PTangent\i)})}%
\end{pspicture}
\end{LTXexample}
@@ -5156,6 +5191,9 @@ There are three predefined "'transparent"` colors \verb+TRed+,
\verb+TGreen+, \verb+TBlue+. They are used as \PST{} styles and
not as colors:
+
+
+
\bgroup
\begin{LTXexample}[pos=t,preset=\centering]
\begin{pspicture}(-3,-5)(5,5)
@@ -5200,6 +5238,9 @@ calculated on the \PS side.
\end{LTXexample}
+
+
+
\begin{center}
\newcommand{\Touch}{%
\psframe[linestyle=none,fillstyle=solid,fillcolor=bl,dimen=middle](0.1,0.75)}
@@ -5441,9 +5482,6 @@ This refers to all options of the packages \LPack{pstricks},
\xkvview{family=pstricks-add,columns={key,type,default}}
-
-
-
\nocite{*}
\bgroup
\RaggedRight
diff --git a/Master/texmf-dist/tex/generic/pstricks-add/pstricks-add.tex b/Master/texmf-dist/tex/generic/pstricks-add/pstricks-add.tex
index 56d9ef30979..50ee9c0ed19 100644
--- a/Master/texmf-dist/tex/generic/pstricks-add/pstricks-add.tex
+++ b/Master/texmf-dist/tex/generic/pstricks-add/pstricks-add.tex
@@ -1,4 +1,4 @@
-%% $Id: pstricks-add.tex 137 2014-12-08 20:17:43Z herbert $
+%% $Id: pstricks-add.tex 254 2016-02-07 15:01:19Z herbert $
%%
%% This is file `pstricks-add.tex',
%%
@@ -30,8 +30,8 @@
\ifx\PSTXKeyLoaded\endinput\else \input pst-xkey \fi
\ifx\PSTmathLoaded\endinput\else \input pst-math \fi
%
-\def\fileversion{3.77}
-\def\filedate{2014/12/08}
+\def\fileversion{3.78}
+\def\filedate{2016/02/07}
\message{`pstricks-add' v\fileversion, \filedate\space (dr,hv)}
%
\edef\PstAtCode{\the\catcode`\@} \catcode`\@=11\relax
@@ -509,7 +509,10 @@ a add
\ifpsArrowFill\else\pst@number\pslinewidth \pst@arrowscale\space div SLW \fi
w neg h moveto
0 0 L w h L w neg a neg rlineto
- \ifpsArrowFill gsave fill grestore \else gsave closepath stroke grestore \fi
+ \ifpsArrowFill gsave
+ \tx@setStrokeTransparency
+ fill
+ grestore \else gsave closepath stroke grestore \fi
grestore
0 h a sub moveto
}>
@@ -2594,7 +2597,7 @@ a add
\def\resetOptions{%
\def\pst@linetype{0}%
- \pstScalePoints(1,1){}{}%
+% \pstScalePoints(1,1){}{}%
\psset[pstricks-add]{%
hooklength=3mm, hookwidth=1mm,
ArrowFill=true,
@@ -2622,4 +2625,3 @@ a add
%
%% END: pstricks-add.tex
\endinput
-