[pstricks] pst-tree
Jean-Come Charpentier
Jean-Come.Charpentier at wanadoo.fr
Sat Sep 11 02:29:48 CEST 2004
Denis Verges wrote:
>Hello,
>
Hello Denis.
>
>I ask your help : how can I do this simple tree (with pst-tree) ?
>
> G2
> /
> C1/
> / \
> G1/ \P2
> / \
>/ \A1
>\
> \ P1
>
>
>
Use \Tn for an invisible node (with no connection). For example:
\pstree[treefit=tight,nodesep=2pt,
levelsep=1.5cm,treesep=1.5cm]{\TR{$G_2$}}{%
\pstree{\TR{$C_1$}}{%
\pstree{\TR{$G_1$}}{%
\pstree{\Tp}{% empty node?
\Tn
\TR{$P_1$}%
}
\TR{$A_1$}%
}%
\TR{$P_2$}%
}%
\Tn
}
Jean-Co^me Charpentier
More information about the PSTricks
mailing list