PSTricks: is it a feature or a bug?

Christophe Broult broult at info.unicaen.fr
Tue Jul 8 16:53:49 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.
-----------------------------------------------------------------------------


Hi,

I've got some trouble with the command \\ in the psmatrix environment
when in the next column I try to give the next node a name using the
[name=xx] notation, this doesn't work. I've try several
solutions. Here they are:

\documentclass{article}
\usepackage{pst-all}
\begin{document}
  \psset{arrows=->}%,arcangle=0}

\begin{figure}\centering
  \begin{psmatrix}[mnode=circle,emnode=none]
    [name=P1] 1\\
    [name=IP1]1
    \ncline{P1}{IP1}\trput{E1/O1}
  \end{psmatrix}
  \caption{\texttt{[name=IP1]} is used as the optional argument of
    $\backslash\backslash$.}
\end{figure}
\begin{figure}\centering
  \begin{psmatrix}[mnode=circle,emnode=none]
    [name=P1] 1\\
    {[name=IP1]}1
    \ncline{P1}{IP1}\trput{E1/O1}
  \end{psmatrix}
  \caption{\texttt{[name=IP1]} is enclosed in brace and is taken as part
    of the node label.}
\end{figure}
\begin{figure}\centering
  \begin{psmatrix}[mnode=circle,emnode=none]
    [name=P1] 1\\[1cm]
    [name=IP1]1
    \ncline{P1}{IP1}\trput{E1/O1}
  \end{psmatrix}
  \caption{Behave correctly but I had to add an optional to
    $\backslash\backslash$.}
\end{figure}

\end{document}

I'd like one that avoid the use of optional parameter for \\.

Thank you,

Chris

-- 

////////////////////////////////////////////////////////////////////////
//                    Christophe Broult
//
// CNET Caen DSV/APM             | GREYC - CNRS-UPRESA 6072
// Centre National d'Etude des   | Groupe de Recherche en Informatique,
// des Telecom                   | Image, Instrumentation de Caen
// 42, rue des Coutures          | Universite Caen
// BP 6243                       | Esplanade de la Paix
// 14066 Caen cedex              | 14032 Caen Cedex
// Voice: 02 31 75 93 38         | Voice: 02 31 56 59 43
// Fax:   02 31 75 09 44         | Fax:   02 31 56 58 14
////////////////////////////////////////////////////////////////////////

     "C makes it easy to shoot yourself in the foot.  C++ makes it
      harder, but when you do, it blows away your whole leg."

                               -- Bjarne Stroustrup on C++


-----------------------------------------------------------------------------
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