summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pst-node/pst-node-doc.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-02-28 23:28:02 +0000
committerKarl Berry <karl@freefriends.org>2011-02-28 23:28:02 +0000
commite07e14e254e962920557e7fbbe7d712736cd94a8 (patch)
treeef53e09a1f82f855063b75f9f17f2da3bb1374f4 /Master/texmf-dist/doc/generic/pst-node/pst-node-doc.tex
parentda776f4f7bb7e1e8867f53c9db6d6be0d713dcea (diff)
pst-node (28feb11)
git-svn-id: svn://tug.org/texlive/trunk@21550 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/pst-node/pst-node-doc.tex')
-rw-r--r--Master/texmf-dist/doc/generic/pst-node/pst-node-doc.tex24
1 files changed, 14 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-node/pst-node-doc.tex b/Master/texmf-dist/doc/generic/pst-node/pst-node-doc.tex
index aadd639d842..2f9a18c5eb0 100644
--- a/Master/texmf-dist/doc/generic/pst-node/pst-node-doc.tex
+++ b/Master/texmf-dist/doc/generic/pst-node/pst-node-doc.tex
@@ -1,4 +1,4 @@
-%% $Id: pst-node-doc.tex 440 2010-12-28 21:06:39Z herbert $
+%% $Id: pst-node-doc.tex 465 2011-02-28 16:08:12Z herbert $
\documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings
headexclude,footexclude,oneside]{pst-doc}
\listfiles
@@ -79,8 +79,7 @@ The following pages are from the original documentation of
\section{Setting bounding box nodes with \nxLcs{psDefBoxNodes}}
\begin{BDef}
-\Lcs{psDefBoxNodes}\Largb{node name}\\
-%\Lcs{psGetNodeEdgeA}\Largb{node type}\Largb{node name}
+\Lcs{psDefBoxNodes}\Largb{node name}\Largb{text}\\
\end{BDef}
Setting nodes for a bounding box of a given text. There will be 12 nodes defined,
@@ -88,16 +87,21 @@ with the name that has the suffixes
\texttt{:tl, :tC, :tr,
:Cl, :C, :Cr,
:Bl, :BC, :Br,
-:bl, :bc, :br}. The prefix is always the given node name.
-
-\begin{LTXexample}[pos=t]
-\psscalebox{15}{\psDefBoxNodes{Age}{\color{red!50}\sffamily Age}}%
-\pspolygon[linecolor=blue,fillstyle=solid,
- fillcolor=magenta!30,opacity=0.3](Age:tl)(Age:tr)(Age:br)(Age:bl)%
-\psline[linestyle=dashed,linecolor=blue](Age:Bl)(Age:Br)%
+:bl, :bc, :br}. The prefix is always the given node name. The node name shouldn't contain spaces or special
+characters, like umlauts or an active \PS\ character, like \texttt{(}.
+
+\lstset{style=code}
+\begin{LTXexample}[pos=t,wide,vsep=10mm,preset=\centering,columns=fixed]
+\psscalebox{15}{\psDefBoxNodes{Age}{\color{red!50}\sffamily \"Age}}%
+\pspolygon[fillstyle=solid,
+ fillcolor=blue!30,opacity=0.3](Age:tl)(Age:tr)(Age:br)(Age:bl)%
+\psline[linestyle=dashed](Age:Bl)(Age:Br)%
\psdots(Age:tl)(Age:tC)(Age:tr)(Age:Cl)(Age:C)(Age:Cr)%
(Age:Bl)(Age:BC)(Age:Br)(Age:bl)(Age:bC)(Age:br)%
\pcline[arrows=<->,linecolor=blue,arrowscale=1.25](Age:tC)(Age:Br)
+\uput[180](Age:tl){tl}\uput[180](Age:Cl){Cl}\uput[180](Age:Bl){Bl}\uput[180](Age:bl){bl}
+\uput[90](Age:tC){tC} \uput[0](Age:C){C} \uput[0](Age:BC){BC} \uput[-90](Age:bC){bC}
+\uput[0](Age:tr){tr} \uput[0](Age:Cr){Cr} \uput[0](Age:Br){Br} \uput[0](Age:br){br}
\end{LTXexample}