[pstricks] Help with \ncline
Néstor López Jorge
nljcam at yahoo.es
Mon May 23 09:10:13 CEST 2005
Hello:
I have a problem with Pstricks. I write:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{pstricks}
\usepackage{pstcol} % To use the standard "color" package with PSTricks
\usepackage{pst-node}
\begin{document}
\begin{center}
Flow diagram with the psmatrix environment\\[5mm]
\begin{psmatrix}[rowsep=0.5cm,colsep=0.8cm]
\psovalbox[fillstyle=solid,fillcolor=yellow]{Begin} \\
\psframebox{Initialisations} \\
\psdiabox[fillstyle=solid]{Special} &
\psframebox{Call to SP1} & \psframebox{Call to SP2} \\
\psframebox{Action 1} \\
\psframebox{Action 2} \\
\psovalbox[fillstyle=solid,fillcolor=yellow]{End}
% Links
\ncline{1,1}{2,1}
\ncline{2,1}{3,1}
\ncline{3,1}{4,1}<{\textcolor{red}{No}}
\ncline{4,1}{5,1}
\ncline{5,1}{6,1}
\ncline{->}{3,1}{3,2}^{\textcolor{red}{Yes}}
\ncline{->}{3,2}{3,3}
\ncbar[angleA=-90,armB=0,nodesepB=2.5mm]{->}{3,3}{4,1}
\end{psmatrix}
\end{center}
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
The restult is:
The red texts Yes and No are not near de lines.
Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20050523/3ecb56bd/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 21062 bytes
Desc: not available
Url : http://tug.org/pipermail/pstricks/attachments/20050523/3ecb56bd/attachment.jpe
-------------- next part --------------
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.322 / Virus Database: 266.11.13 - Release Date: 19/05/2005
More information about the PSTricks
mailing list