[Problem] \pstree at horizlevelsepadjust must have no argument

Denis Girou Denis.Girou at idris.fr
Fri Oct 17 23:32:54 CEST 1997


-----------------------------------------------------------------------------
This is the PSTricks mailing list, devoted to discussions about computational
graphics in (La)TeX using the PSTricks package from Timothy van Zandt.
For help using this mailing list, see instructions at the end of message.
-----------------------------------------------------------------------------

  The \pstree at horizlevelsepadjust must have no argument. His definition was
falsely copied from \pstree at vertlevelsepadjust, which require one.

  From CHANGES file:

  * 97/09/24 pst-tree.tex (0.93-97 patch 2): The \pstree at horizlevelsepadjust
doesn't require an argument - definition was falsely copied from
\pstree at vertlevelsepadjust, which require one
(reported by Denis Girou <Denis.Girou at idris.fr>)

  My test case is (result will be the same, just the erroneous output message
will be suppressed):

\documentclass{article}

\usepackage{pst-tree}

\pagestyle{empty}

\begin{document}

\pstree[treemode=R,levelsep=*1cm]{\TC*}{\TC* \TC*}

\makeatletter
% DG/SR modification begin - Sep. 24, 1997
%\def\pstree at horizlevelsepadjust#1{%
\def\pstree at horizlevelsepadjust{%
% DG/SR modification end
\ifx\if at filesw\iffalse\else
\if at psrighttree
\pst at dimh=\pst at tempb sp
\pstree at max\pstree at theleftprofile\pst at cntg
\advance\pst at dimh\pst at cntg sp
\else
\pst at dimh=\pst at tempa sp
\pstree at max\pstree at therightprofile\pst at cntg
\advance\pst at dimh\pst at cntg sp
\fi
\immediate\write\@auxout{%
\string\pstree at levelsepadjust
{\pstree at thetree-\the\pstreelevel}{\number\pst at dimh}}%
\fi}
\makeatother

\vspace*{3cm}
\pstree[treemode=R,levelsep=*1cm]{\TC*}{\TC* \TC*}

\end{document}

D.G.

-----------------------------------------------------------------------------
The list interface (subscription, information, access to the archives) is on:
http://www.tug.org/cgi-bin/lwgate/pstricks
Otherway to unsubscribe, send mail to pstricks-request at mail.tug.org
with a blank subject and in body the line unsubscribe <email-address>
-----------------------------------------------------------------------------



More information about the PSTricks mailing list