[pstricks] Nested psTree environments

Herbert Voss LaTeX at zedat.fu-berlin.de
Wed Jan 3 18:50:59 CET 2007


E. Krishnan schrieb:
> On Tue, 2 Jan 2007, Herbert Voss wrote:
>
>   
>> this version uses the LaTeX definition  \def\end#1{..}
>> and its behaviour is different from the pst-tree own one
>>
>> \def\endpsTree{\pst at endlongbox\ignorespaces}
>>     
>
> Thank you. The dilemma is that the enviroment form seems to be better to
> keep track of the subtrees, but the frequent % characters appears to be a
> bit inelegant.
>   
use the pst-tree.tex from
http://perce.de/LaTeX/pstricks/generic/pst-tree.tex
or write into the preamble after \usepackage{pst-tree}:

\makeatletter

\def\endpsTree{\pst at endlongbox\csname ignorespacesafterend\endcsname}

\makeatother


then it works as expected


Herbert



More information about the PSTricks mailing list