[pstricks] A node connection with centered arrow?
Blair Hall
b.hall at irl.cri.nz
Thu Apr 18 02:02:20 CEST 2002
I have found the archive (2000) and copied the TeX code I found there.
This works fine for \ncline, as far as I can tell.
However, I have a problem with \ncbar.
The following code does not work properly:
\documentclass{article}
\usepackage{pstricks,pst-node}
\input{pst-ArrowsInside}
\begin{document}
\begin{psmatrix}
\dotnode{1} & \dotnode{2} \\
\dotnode{4} & \dotnode{3}
\end{psmatrix}
\ncline[ArrowInside=->]{1}{2}
\ncbar[angle=-90,ArrowInside=->]{4}{3}
\end{document}
I get a centered arrow between nodes 1 and 2, but the bar between 3 and 4
has no arrow!
(The "pst-ArrowInside" file is simply my copy of the archived code -
without any changes.)
Any ideas anyone?
Thanks
Blair
At 10:56 16/04/02 +0530, E. Krishnan wrote:
>On Mon, 15 Apr 2002, Blair Hall wrote:
>
> > I would like to link nodes with a line
> > that has a direction arrow in the middle,
> > between nodes, rather than at the end.
>
>
>I remember this question answered by Denis Girou some years back in this
>list. Please see the archives.
>
>
>
>--
>Krishnan
>
>
>
>_______________________________________________
>pstricks mailing list
>pstricks at tug.org
>http://tug.org/mailman/listinfo/pstricks
More information about the PSTricks
mailing list