summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex
diff options
context:
space:
mode:
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.tex20
1 files changed, 18 insertions, 2 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 6934007fd55..48cfcfc14ef 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 1105 2019-11-02 08:20:49Z herbert $
+%% $Id: pstricks-add-doc.tex 1142 2020-02-12 19:07:50Z herbert $
%
\documentclass[11pt,english,BCOR=10mm,DIV=12,bibliography=totoc,parskip=false,headings=small,
headinclude=false,footinclude=false,oneside]{pst-doc}
@@ -823,7 +823,8 @@ With the option \Lkeyword{singleline} one can choose also a different linestyle
\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!
+the value for the rotating of the label! If both keywords have the same value, you can use \Lkeyword{nodesep}
+instead. It sets \Lkeyword{nodesepA} \emph{and} \Lkeyword{nodesepB} to the given value of \Lkeyword{nodesep}.
\begin{center}
\begin{tabular}{@{}l|l@{}}
@@ -834,6 +835,7 @@ name & meaning\\\hline
\Lkeyword{bracePos} & relative position (default is $0.5$)\\
\Lkeyword{nodesepA} & x-separation (default is $0pt$)\\
\Lkeyword{nodesepB} & y-separation (default is $0pt$)\\
+\Lkeyword{nodesep} & x- and 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\\
@@ -841,6 +843,20 @@ name & meaning\\\hline
\end{tabular}
\end{center}
+
+\begin{LTXexample}[width=6.5cm]
+\begin{pspicture}[showgrid](-1,0)(4,5)
+\pnodes(0,1){A}(3,4){B}(-0.5,0.5){C}(3.5,4.5){D}
+\psdots(A)(B)(C)(D)
+\psbrace[singleline,linestyle=dashed,ref=lC,
+ linewidth=1pt,nodesep=5mm](C)(D){Text I}
+\psbrace[singleline,linestyle=dotted,ref=lC,
+ linewidth=1pt,nodesep=-10mm,rot=180](B)(A){Text II}
+\end{pspicture}
+\end{LTXexample}
+
+
+
By default the text is written perpendicular to the brace line and
can be changed with the \LPack{pstricks} option \Lkeyword{rot}=\ldots\ The
text parameter can take any object and may also be empty. The