[pstricks] Fwd: Label separation using \pstree

John Culleton john at wexfordpress.net
Wed Jul 4 00:39:54 CEST 2001




I have a pstree applicaiton where the labels assigned to various edges are
too far from the edges. I tried setting labelsep =0pt but they are still to
far away. I must be setting the wrong parameter.

Here is a code snippet:\psset{linewidth= 1.5pt, levelsep=3cm,treesep=1.0cm,
radius=.01pt,labelsep=0pt}
\pstree[treemode=R]%
{\TC}{%
\pstree{\TC}{%
   \pstree{\TC}
       {\TC \TC}
   \pstree{\TC}
       {\TC \TC}}%
\pstree{\TC}{%
       \nbput{Seller proposes}
       \naput{$1-\beta$}
   \pstree{\TC}{%
   \taput{Barter}
   \tbput{$\psi_0$}
       \TC \TC}
   \pstree{\TC}{%
        \taput{$1-\psi_0$}
        \tbput{Cash}
       \TR{$\ (\Delta_1,\Delta_0)$}\naput{Accept} \TR{$\
(0,0)$}\nbput{Reject}}}%
}\psset{linewidth= 1.5pt, levelsep=3cm,treesep=1.0cm,
radius=.01pt,labelsep=0pt}
\pstree[treemode=R]%
{\TC}{%
\pstree{\TC}{%
   \pstree{\TC}
       {\TC \TC}
   \pstree{\TC}
       {\TC \TC}}%
\pstree{\TC}{%
       \nbput{Seller proposes}
       \naput{$1-\beta$}
   \pstree{\TC}{%
   \taput{Barter}
   \tbput{$\psi_0$}
       \TC \TC}
   \pstree{\TC}{%
        \taput{$1-\psi_0$}
        \tbput{Cash}
       \TR{$\ (\Delta_1,\Delta_0)$}\naput{Accept} \TR{$\
(0,0)$}\nbput{Reject}}}%
}

I also tried \raise and \lower but they didn't work in this context.

Any help anyone? I feel so dumb!

John Culleton

-------------------------------------------------------



More information about the PSTricks mailing list