pst-node question

Michael Sharpe msharpe at euclid.UCSD.EDU
Sat May 22 04:16:17 CEST 1999


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


----- Original Message -----
From: Juan Manuel Leal Garcia <juanleal at cantv.net>
To: <pstricks at tug.org>
Sent: Friday, May 21, 1999 5:24 PM
Subject: pst-node question


> Hi everybody there:
>
> Is there any way to do what I want to do with this picture automatically
> with pst-node?
>
> \begin{pspicture}*(0,0)(3,1.2)
> \rput[lb]{0}(0,0.7){$A \stackrel{f}{\rightarrow} B
> \stackrel{g}{\rightarrow} C$}
>
\pscurve[arrowsize=3pt,arrowlength=0.5,arrowinset=1.4,linewidth=0.4pt]{->}%
>
>  (0.3,0.65)(1,0.5)(1.8,0.65)
> \rput[b]{0}(1,0.1){\small $g \circ f$}
> \end{pspicture}
>
> Thanks in advance.
>
> Juan Manuel
>
The psmatrix environment in pst-node is ideal for this. For example

\psset{arrows=->,labelsep=4pt,nodesep=5pt}
\begin{psmatrix} $A$&$B$&$C$\\
\ncline{1,1}{1,2}\naput{$f$} \ncline{1,2}{1,3}\naput{$g$}
\nccurve[angleA=-20,angleB=200]{1,1}{1,3}\nbput{$g\circ f$}
\end{psmatrix}

See the LaTex Graphics Companion.


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