summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pstricks-add
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-07-16 22:28:24 +0000
committerKarl Berry <karl@freefriends.org>2014-07-16 22:28:24 +0000
commitd4165c0f6f43432d33b38973f1399652280b89a8 (patch)
treee14f1694cb84eb2c1ddbfe04e7137b24bc9fb89d /Master/texmf-dist/doc/generic/pstricks-add
parent189768e1bc743aa2703ea0d625d714796c1469ab (diff)
pstricks-add (16jul14)
git-svn-id: svn://tug.org/texlive/trunk@34630 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/Changes3
-rw-r--r--Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.pdfbin5115226 -> 5116132 bytes
-rw-r--r--Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex24
3 files changed, 16 insertions, 11 deletions
diff --git a/Master/texmf-dist/doc/generic/pstricks-add/Changes b/Master/texmf-dist/doc/generic/pstricks-add/Changes
index b8535206e8d..2426c7bd2d0 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 923 2014-06-16 07:31:28Z herbert $
+%% $Id: Changes 932 2014-07-10 19:59:36Z 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.74 2014-07-15 - Allow a node as a startpoint for \psVector
v 3.73 2014-06-16 - enable \ncput et al for \psVector
v 3.72 2014-06-12 - allow multiple coors for \psVector
v 3.67 2014-05-07 - some minor fixes to \psStep
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 8b265124401..d6c13d48ecb 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 c4c2fad2532..ae7e83a0114 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 924 2014-06-16 21:25:49Z herbert $
+%% $Id: pstricks-add-doc.tex 933 2014-07-11 19:23:25Z herbert $
\documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings
headexclude,footexclude,oneside]{pst-doc}
\listfiles
@@ -225,6 +225,15 @@ coordinates of the endpoint are \emph{always} interpreted relative to the last
the vector. The first vector refers to the coordinates set by \Lcs{psStartPoint}.
With the boolean argument one can draw the horizontal angle of the vector.
+\begin{BDef}
+\Lcs{psVector}\OptArgs\OptArg*{\texttt{<startpoint>}}\coord1\coord2\ldots\Largr{\coord{n}}\\
+\Lcs{psStartPoint}\OptArg{node basename}\Largr{$x$,$y$}
+\end{BDef}
+
+If the optional argument in angle braces is given then it will be the start point
+for the current vector and the next ones, until a new start point is defined or a
+new optional argument is used.
+
The style of the angle arc is saved in \Lkeyval{psMarkAngleStyle} and the style
for the horizontal line in \Lkeyval{psMarkAngleLineStyle} and preset to
@@ -235,8 +244,7 @@ for the horizontal line in \Lkeyval{psMarkAngleLineStyle} and preset to
\begin{pspicture}[showgrid](10,10)
- \psStartPoint(1,1)
- \psVector(3;30)(4;60)\nbput{$V_2$}
+ \psVector<1,1>(3;30)(4;60)\nbput{$V_2$}
\psVector[linecolor=red](3;10)\nbput{$V_3$}
\psVector[linestyle=dashed](4;110)\nbput{$V_4$}
\psStartPoint(1,1)\psset{markAngle}
@@ -247,12 +255,11 @@ for the horizontal line in \Lkeyval{psMarkAngleLineStyle} and preset to
\begin{lstlisting}
\begin{pspicture}[showgrid](10,10)
- \psStartPoint(1,1)
- \psVector(3;30)(4;60)\nbput{$V_2$}
+ \psVector<1,1>(3;30)(4;60)\nbput{$V_2$}
\psVector[linecolor=red](3;10)\nbput{$V_3$}
\psVector[linestyle=dashed](4;110)\nbput{$V_4$}
- \psStartPoint(1,1)\psset{markAngle}
- \psVector[linestyle=dashed](4;110)\ncput*{$V_1$}
+ \psset{markAngle}
+ \psVector[linestyle=dashed]<1,1>(4;110)\ncput*{$V_1$}
\psVector[linecolor=red](3;10)\ncput*{$V_2$}
\psVector(4;60)(3;30)\ncput*{$V_4$}
\end{pspicture}
@@ -264,9 +271,6 @@ the first \Lcs{psVector}. With the macro \Lcs{psStartPoint} one can set the star
with optional argument the name of the nodes. \verb=Vector3= is the default node name of
the endpoint of the third vector or the name of the starting point of the forth vector.
-\begin{BDef}
-\Lcs{psStartPoint}\OptArg{node basename}\Largr{$x$,$y$}
-\end{BDef}
\begin{pspicture}[showgrid,linewidth=1pt](10,10.4)
\psStartPoint[A](1,1)% nodes have the base name A