[pstricks] problem with tree with LARGE nodes
Herbert Voss
Herbert.Voss at alumni.TU-Berlin.DE
Tue Jan 4 23:15:40 CET 2005
Hendrik wrote:
> This works fine as far as the production of the avm's is concerned, but
> inside the tree they all overlap. It is as if pstricks thinks the nodes
> are dimensionless.
> This is a working minimal example. Note how the two avms are put on top
> of each other.
increase the levelsep
Herbert
\documentclass[english,11pt]{article}
\usepackage{pstricks}
\usepackage{pst-tree}
\usepackage{avm}
\begin{document}
\newsavebox\DP
\sbox\DP{\begin{avm}
\[\emph{phrase}\\
head & \@4\[\emph{noun}\\
agr & \@2
\]\\
val & \[\emph{val-cat}\\
comps & itr\\
spr & $+$ \]
\]
\end{avm}}
and I want to use them inside \verb+\pstree+ like this:
\newpsobject{knoop}{TR}{ref=b}
\psset{nodesep=3pt, levelsep=5cm}
\pstree{\knoop{\usebox\DP}}{%
\pstree{\knoop{\usebox\DP}}{%
\pstree{\knoop{\usebox\DP}}{%
\knoop{The}%
}}}
\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