[Problem] Bug with the C node type of psmatrix environment

Denis Girou Denis.Girou at idris.fr
Wed Jul 30 22:16:37 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.
-----------------------------------------------------------------------------

  Kostas Oikonomou <ko at surya.ho.att.com> report today a bug with the C node
type of psmatrix environment, in pst-node.tex file. Thanks to him.

  Here is the temporary correction. As usual, file on CTAN will be updated
later.

\def\fileversion{93a/b,94beta-97 patch 2}
\def\filedate{1997/07/30}

D.G.

\documentclass{article}

\usepackage{pst-node}

\makeatletter
\def\cnode at ii(#1)#2#3{%
\leavevmode
\hbox{%
\use at par
\pst@@getcoor{#1}%
\pssetlength\pst at dimc{#2}%
\pst at dimg=\psk at dimen\pslinewidth
\advance\pst at dimc-\pst at dimg
\advance\pst at dimc.5\pslinewidth
\ifnodealign
\kern\pst at dimc
\vrule width\z@ height \pst at dimc depth \pst at dimc
\fi
\pscircle at do(#1){#2}%
\pst at newnode{#3}{11}{\pst at coor \pst at number\pst at dimc}{\tx at InitCnode}%
% DG/SR modification begin - Jul. 30, 1997
%\ifnodealign \kern\pst at dimc\egroup \fi}%
\ifnodealign\kern\pst at dimc\fi}%
% DG/SR modification end
\ignorespaces}
\makeatother

\begin{document}


\begin{psmatrix}[mnode=circle,emnode=C]
  A & & & B
\end{psmatrix}

\vspace{1cm}
\begin{psmatrix}[radius=1,mnode=circle,emnode=C]
  A & & & B
\end{psmatrix}

\end{document}

-----------------------------------------------------------------------------
To [un]subscribe to this list, send mail to pstricks-request at mail.tug.org
Leave the subject line blank and in the body put the line
[un]subscribe <email-address>
For help, put the word "help" in the message body.
To obtain current archive, put the words "get current" in the message body.
-----------------------------------------------------------------------------



More information about the PSTricks mailing list