summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-01-12 23:06:35 +0000
committerKarl Berry <karl@freefriends.org>2019-01-12 23:06:35 +0000
commit316516ea8d43bcd57e9ed58bfe0aa1f5a6585994 (patch)
tree956f3b825b1e62995d4953afb4fdec3076fd4f10 /Master/texmf-dist/doc
parent70f9c8c319b842638cf25a950bb9f221f2161bdd (diff)
pstricks-add (12jan19)
git-svn-id: svn://tug.org/texlive/trunk@49680 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r--Master/texmf-dist/doc/generic/pstricks-add/Changes3
-rw-r--r--Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.pdfbin5176800 -> 5186832 bytes
-rw-r--r--Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex65
3 files changed, 66 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/generic/pstricks-add/Changes b/Master/texmf-dist/doc/generic/pstricks-add/Changes
index ea75954dce9..7b841796d79 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 851 2018-12-08 20:06:43Z herbert $
+%% $Id: Changes 902 2019-01-12 10:06:35Z herbert $
%%
pstricks-add.pro -----------
0.23 2009-12-17 - add RGBtoGRAY and WavelengthToGRAY
@@ -41,6 +41,7 @@ pstricks-add.sty ----------- (hv)
pstricks-add.tex ----------- (hv)
+ v 3.87 2019-01-12 - added \psCallout
v 3.86 2018-12-08 - added some more options for \psCancel
v 3.85b 2018-02-04 - use LaTeX package pst-calculate
v 3.85a 2018-02-03 - added area computing for \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 6a023990141..8dbe9e74b7b 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 1e583d4f2fe..ad9e06287cd 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 851 2018-12-08 20:06:43Z herbert $
+%% $Id: pstricks-add-doc.tex 887 2018-12-29 13:17:59Z herbert $
%
\documentclass[11pt,english,BCOR=10mm,DIV=12,bibliography=totoc,parskip=false,headings=small,
headinclude=false,footinclude=false,oneside]{pst-doc}
@@ -115,6 +115,7 @@ Pablo Gonzáles;
Peter Hutnick;
Christophe Jorssen;
Uwe Kern;
+Friedrich Lenk;
Manuel Luque;
Jens-Uwe Morawski;
Tobias N\"ahring;
@@ -4679,6 +4680,7 @@ Spectrum of hydrogen emission (Manuel Luque)
+
%--------------------------------------------------------------------------------------
\section{Gouraud shading}
%--------------------------------------------------------------------------------------
@@ -4705,6 +4707,8 @@ be seen with Acroread 7 or later. The syntax is easy:
\end{pspicture}
\end{LTXexample}
+
+
\begin{LTXexample}[pos=t,preset=\centering]
\begin{pspicture}(0,-.25)(10,10)
\psGTriangle*(0,0)(9,10)(10,3){black}{white!50}{red!50!green!95}
@@ -4728,6 +4732,62 @@ be seen with Acroread 7 or later. The syntax is easy:
\end{pspicture}
\end{LTXexample}
+
+
+
+
+\section{\Lcs{psCallout}}
+
+\begin{BDef}
+\Lcs{psCallout}\OptArgs\Largr{$x_0,y_0$}\Largb{Text}
+\end{BDef}
+
+Possible parameter are:
+
+\begin{description}
+ \item[tipAngle] The angle of the tip depending to the horizontal line.
+ \item[tipLength] The length of the tip from the coordinates to the box.
+ \item[tipWidth] The width of the tip end.
+ \item[tipPos] Relative position of the tip end to the width of the box.
+\end{description}
+
+
+
+
+\begin{LTXexample}[pos=t,preset=\centering]
+\begin{pspicture}(-5.5,-1)(4,5.5)
+\psaxes[labels=none,ticks=none]{->}(0,0)(-5,-1)(3.5,5)[$x$,-90][$y$,0]
+\psyTick(1){1}\uput[225](0,0){0}
+\psplot[algebraic,,yMaxValue=4.5,linecolor=red,linewidth=1.5pt]{-2.5}{3}{Euler^(-(x))}
+\psCallout(1,0.5){\scriptsize $f(x)=e^{-x}$}
+\psCallout[tipAngle=90](1,1.6){\scriptsize $f(x)=e^{-x}$}
+\psCallout[tipLength=10mm](1,3){$f(x)=e^{-x}$}
+\psCallout[tipLength=10mm,tipAngle=120,tipPos=0.8](-1,1){$f(x)=e^{-x}$}
+\psCallout[tipAngle=120,fillcolor=red!40,fillstyle=solid](-4,3){%
+ \shortstack{Some math\\$f(x)=e^{-x}$}}
+\end{pspicture}
+\end{LTXexample}
+
+
+
+
+\begin{LTXexample}[pos=t,preset=\centering]
+\begin{pspicture}(-5.5,-1)(4,5.5)
+\psaxes[labels=none,ticks=none]{->}(0,0)(-5,-1)(3.5,5)[$x$,-90][$y$,0]
+\psyTick(1){1}\uput[225](0,0){0}
+\psplot[algebraic,,yMaxValue=4.5,linecolor=red,linewidth=1.5pt]{-2.5}{3}{Euler^(-(x))}
+\psset{linearc=0.4}%
+\psCallout(1,0.5){\scriptsize $f(x)=e^{-x}$}
+\psCallout[tipAngle=90](1,1.6){\scriptsize $f(x)=e^{-x}$}
+\psCallout[tipLength=10mm](1,3){$f(x)=e^{-x}$}
+\psCallout[tipLength=10mm,tipAngle=120,tipPos=0.8](-1,1){$f(x)=e^{-x}$}
+\psCallout[tipAngle=120,fillcolor=red!40,fillstyle=solid](-4,3){%
+ \shortstack{Some math\\$f(x)=e^{-x}$}}
+\end{pspicture}
+\end{LTXexample}
+
+
+
\section{Internal color macros}
The internal macros \Lcs{pswavelengthToRGB} and \Lcs{pswavelengthToRGB} can be used for own purposed.
They are defines as follows:
@@ -4741,6 +4801,9 @@ both macros leave the value(s) on the stack which then can be used for further
manipulating or setting the color with \Lps{setgray} or \Lps{setrgbcolor}.
For an example see Section~\ref{sec:psMatrix}.
+
+
+
\appendix