[pstricks] Unbalanced trees with pstree

Herbert Voss Herbert.Voss at alumni.TU-Berlin.DE
Tue Nov 2 06:59:44 CET 2004


Mårten Trolin wrote:

> I want the subtrees to be evenly spaced (e.g., I want the edge between 
> M_\rho and M_{\beta_2} to be vertical). I have experimented with
> treenodesize, thistreenodesize and treesep without any luck. Any ideas 
> are very welcome!

there is a \Tn for a dummy tree

\pstree[]
          { \TR{$M_\rho$}}
           { \pstree{ \TR{$M_{\beta_1}$}}
               {\TR{$S_{\alpha_1}$}
	       \Tn{\hphantom{$S_{\alpha_1}$}}% <---------
	       \TR{$S_{\alpha_2}$} }
             \pstree{ \TR{$M_{\beta_2}$}}
               {\TR{$S_{\alpha_3}$} \TR{$S_{\alpha_4}$}
                 \TR{$S_{\alpha_5}$} \TR{$S_{\alpha_6}$} }
             \pstree{ \TR{$M_{\beta_3}$}}
               {\TR{$S_{\alpha_7}$} \TR{$S_{\alpha_8}$}
                 \TR{$S_{\alpha_9}$} }
          }


and you can also use \tspace{}

Herbert



-- 
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes




More information about the PSTricks mailing list