From 2189ba748d5e5c00481afadbb9ad2bedeb0aefcb Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 2 Nov 2019 21:06:20 +0000 Subject: pstricks-add (2nov19) git-svn-id: svn://tug.org/texlive/trunk@52617 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/generic/pstricks-add/Changes | 4 +- .../doc/generic/pstricks-add/pstricks-add-doc.pdf | Bin 5186832 -> 5189362 bytes .../doc/generic/pstricks-add/pstricks-add-doc.tex | 45 +++++++++++++++++++-- 3 files changed, 44 insertions(+), 5 deletions(-) (limited to 'Master/texmf-dist/doc/generic/pstricks-add') diff --git a/Master/texmf-dist/doc/generic/pstricks-add/Changes b/Master/texmf-dist/doc/generic/pstricks-add/Changes index 7b841796d79..a4b3642b5e0 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 902 2019-01-12 10:06:35Z herbert $ +%% $Id: Changes 1104 2019-11-01 14:45:54Z herbert $ %% pstricks-add.pro ----------- 0.23 2009-12-17 - add RGBtoGRAY and WavelengthToGRAY @@ -41,6 +41,8 @@ pstricks-add.sty ----------- (hv) pstricks-add.tex ----------- (hv) + v 3.89 2019-11-01 - added otion singleline for \psbrace + v 3.88 2019-05-11 - fix for a trailing space after \psrotatet 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 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 8dbe9e74b7b..dda6875065e 100644 Binary files a/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.pdf and b/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.pdf 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 ad9e06287cd..6934007fd55 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 887 2018-12-29 13:17:59Z herbert $ +%% $Id: pstricks-add-doc.tex 1105 2019-11-02 08:20:49Z herbert $ % \documentclass[11pt,english,BCOR=10mm,DIV=12,bibliography=totoc,parskip=false,headings=small, headinclude=false,footinclude=false,oneside]{pst-doc} @@ -23,7 +23,6 @@ %\input{data/pstricks-add-doc.data} -\usepackage[utf8]{inputenc} %\usepackage{pstricks-add} %\let\pstricksaddFV\fileversion \usepackage{pst-eucl,pst-fun,pst-func,multirow} @@ -206,6 +205,7 @@ The amplitude and the width can be changed by the optional arguments \Lkeyword{v \end{pspicture} \end{LTXexample} + \clearpage %-------------------------------------------------------------------------------------- @@ -340,6 +340,8 @@ In the first case the coordinates of a point and the center and the radius of a circle must be given. The names of the calculates node names are \verb=CircleT1= and \verb=CircleT2=. + + \bigskip \begin{pspicture}[showgrid](0,3)(10,10) \psdot(2,4)\pscircle(7,7){2} @@ -350,7 +352,6 @@ and \verb=CircleT2=. \uput[-80](CircleT1){T1}\uput[115](CircleT2){T2} \end{pspicture} - \begin{lstlisting} \begin{pspicture}[showgrid](0,3)(10,10) \psdot(2,4)\pscircle(7,7){2} @@ -370,6 +371,9 @@ ten nodes, named \verb=CircleTC1= and \verb=CircleTC2= for the two intersection \verb=CircleTI1=, \verb=CircleTI2=, \verb=CircleTI3=, and \verb=CircleTI4= for the four nodes of the inner tangent lines. + + + \bigskip \begin{pspicture}[showgrid](-2,-2)(10,10) \pscircle(1,1){1}\pscircle(7,7){3} @@ -757,6 +761,9 @@ setting of \Lkeyword{linecolor} is taken into account: %\pstVerb{ /m -3 -0.85 sub 4 0.6 sub div def } + + + \clearpage %-------------------------------------------------------------------------------------- @@ -787,6 +794,33 @@ and table. \end{pspicture} \end{center} +And with option \Lkeyword{singleline}: + +\begin{center} +\begin{pspicture}[showgrid=true](0,1)(10,5) + \psbrace[braceWidthInner=1cm,singleline, + braceWidthOuter=1cm,bracePos=0.6,fillcolor=white, + nodesepA=10mm,nodesepB=10mm](0,5)(10,5){\fbox{Label}} +\pcline{<->}(3,4)(3,5)\ncput*{\footnotesize\ttfamily braceWidthInner} +\pcline{<->}(3,3)(3,4)\ncput*{\footnotesize\ttfamily braceWidthOuter} +\pcline{<->}(6,2)(6,3)\ncput{\footnotesize\ttfamily nodesepB} +\pcline{<->}(6,2)(7,2)\ncput*{\footnotesize\ttfamily A} +\pcline{<->}(0,1.5)(6,1.5)\ncput*{\footnotesize\ttfamily bracePos} +\psdot[dotscale=2](0,5)\uput[0](0,5){\textbf{A}} +\psdot[dotscale=2](10,5)\uput[180](10,5){\textbf{B}} +\end{pspicture} +\end{center} + +With the option \Lkeyword{singleline} one can choose also a different linestyle which makes no sense otherwise: + +\begin{LTXexample}[width=4.5cm] +\begin{pspicture}[showgrid](4,4) +\pnode(0,0){A} +\pnode(4,4){B} +\psbrace[singleline,linestyle=dashed,ref=lC](A)(B){Text I} +\psbrace[singleline,linestyle=dotted,ref=lC](3,4)(0,1){Text II} +\end{pspicture} +\end{LTXexample} A positive value for \Lkeyword{nodesepA} and \Lkeyword{nodesepB} shifts the label to the upper right and a negative value to the lower left. This does not depends on the value for the rotating of the label! @@ -802,7 +836,8 @@ name & meaning\\\hline \Lkeyword{nodesepB} & y-separation (default is $0pt$)\\ \Lkeyword{rot} & additional rotating for the text (default is $0$)\\ \Lkeyword{ref} & reference point for the text (default is c)\\ -\Lkeyword{fillcolor} & default is black +\Lkeyword{fillcolor} & default is black\\ +\Lkeyword{singleline} & default is false \end{tabular} \end{center} @@ -868,6 +903,7 @@ be "`unfilled"'. \end{LTXexample} + \begin{LTXexample}[width=8cm] \psset{unit=0.8} \begin{pspicture}(10,11) @@ -996,6 +1032,7 @@ Some nonsense text, which is nothing more than nonsense. \clearpage + %-------------------------------------------------------------------------------------- \section{Contour plots} %-------------------------------------------------------------------------------------- -- cgit v1.2.3