diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex')
-rw-r--r-- | Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex | 65 |
1 files changed, 64 insertions, 1 deletions
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 |