[pstricks] Tree

Herbert Voss Herbert.Voss at alumni.TU-Berlin.DE
Fri Jul 2 12:41:51 CEST 2004


Pedro Jorge Caridade wrote:

> I'm preparing some tree with the command \pstree. Due to the size of the
> tree, I would like to know if it is possible that one of the arm coming
> from the root could be bigger that the rest. Pictorially, it's something
> like this:
> 
>            A
> 
>       B
> 
> 
>               C   
> 
> where A is the root, B and C are branches from A (connected, of course).

this is a bit tricky ...

Herbert

\documentclass[12pt]{article}
\usepackage{pstricks}
\usepackage{pst-tree}

\begin{document}
\pstree{\Toval{root}}{%
   {\psset{linewidth=3pt}\Tcircle{A}}
   \Tcircle{B}
}

\pstree{\Toval{root}}{%
   {\psset{linewidth=3pt}\Tcircle[linewidth=1pt]{A}}
   \Tcircle{B}
}
\end{document}


-- 
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