summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-08-23 16:24:26 +0000
committerKarl Berry <karl@freefriends.org>2011-08-23 16:24:26 +0000
commitbaf8fa48d179af545b1d6ed530a84b37b8cd7ab4 (patch)
treec367551f2e79f395f93f0a53d162c8244d048e52 /Master/texmf-dist/tex/generic
parent31e48f20dbe8d0eca54621c6d3d40ffba61589ca (diff)
pstricks-add 3.54 (22aug11)
git-svn-id: svn://tug.org/texlive/trunk@23657 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic')
-rw-r--r--Master/texmf-dist/tex/generic/pstricks-add/pstricks-add.tex18
1 files changed, 12 insertions, 6 deletions
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 46f2e995eaa..3f82e910a9d 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 552 2011-08-03 18:43:36Z herbert $
+%% $Id: pstricks-add.tex 566 2011-08-20 07:19:32Z herbert $
%%
%%
%% This is file `pstricks-add.tex',
@@ -31,8 +31,8 @@
\ifx\PSTXKeyLoaded\endinput\else \input pst-xkey \fi
\ifx\PSTmathLoaded\endinput\else \input pst-math \fi
%
-\def\fileversion{3.53}
-\def\filedate{2011/08/03}
+\def\fileversion{3.54}
+\def\filedate{2011/08/20}
\message{`pstricks-add' v\fileversion, \filedate\space (dr,hv)}
%
\edef\PstAtCode{\the\catcode`\@} \catcode`\@=11\relax
@@ -243,7 +243,11 @@
\psset[pstricks-add]{filledveearrowangle=15} % default angle
\define@key[psset]{pstricks-add}{filledveearrowlinewidth}[0.35mm]{\pst@getlength{#1}\psk@filledveearrowlinewidth}
\psset[pstricks-add]{filledveearrowlinewidth=0.35mm} % default vee arrow line width
-
+\define@key[psset]{pstricks-add}{arrowlinestyle}[solid]{%
+ \@ifundefined{psls@#1}%
+ {\@pstrickserr{Line style `#1' not defined}\@eha}%
+ {\def\psarrowlinestyle{#1}}}
+\psset[pstricks-add]{arrowlinestyle=solid} % default
\pst@def{VeeArrow}<%
1 setlinecap % round caps
1 setlinejoin % round join
@@ -256,9 +260,10 @@
x neg y moveto % point #1
0 0 L % point #2
x y L % point #3
- {closepath gsave fill grestore} if % if filled : close and fill
+ { closepath gsave fill grestore } if % if filled : close and fill
+ \@nameuse{psls@\psarrowlinestyle}
stroke % draw line
- 0 t {y 2 mul} {0} ifelse moveto> % if outside : twice longer line
+ 0 t { y 2 mul } { 0 } ifelse moveto> % if outside : twice longer line
% VeeArrow : filled? outside? (total) angle (projected) length (arrow) line width
@@ -289,6 +294,7 @@
t { 1 -1 scale } if % if reversed : symmetry
y neg y moveto % point #1
y y neg L % point #2
+ \@nameuse{psls@\psarrowlinestyle}
stroke % draw line
0 0 moveto> % origin