From e07e14e254e962920557e7fbbe7d712736cd94a8 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 28 Feb 2011 23:28:02 +0000 Subject: pst-node (28feb11) git-svn-id: svn://tug.org/texlive/trunk@21550 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/generic/pst-node/Changes | 1 + .../doc/generic/pst-node/pst-node-doc.pdf | Bin 294026 -> 307638 bytes .../doc/generic/pst-node/pst-node-doc.tex | 24 ++++++++++++--------- 3 files changed, 15 insertions(+), 10 deletions(-) (limited to 'Master/texmf-dist/doc/generic') diff --git a/Master/texmf-dist/doc/generic/pst-node/Changes b/Master/texmf-dist/doc/generic/pst-node/Changes index 6c6c2644755..2829be3962c 100644 --- a/Master/texmf-dist/doc/generic/pst-node/Changes +++ b/Master/texmf-dist/doc/generic/pst-node/Changes @@ -1,4 +1,5 @@ ----- pst-node.tex +1.15 2011-02-28 - fixed bug with nodealign 1.14 2010-10-28 - added the macros \psGetEdgeA and \psGetEdgeB for getting the edge coordinates of connections diff --git a/Master/texmf-dist/doc/generic/pst-node/pst-node-doc.pdf b/Master/texmf-dist/doc/generic/pst-node/pst-node-doc.pdf index 9e26953ff67..33a2b116791 100644 Binary files a/Master/texmf-dist/doc/generic/pst-node/pst-node-doc.pdf and b/Master/texmf-dist/doc/generic/pst-node/pst-node-doc.pdf differ 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} -- cgit v1.2.3