[pstricks] arrow position
Manjusha Joshi
msj at bprim.org
Tue Jul 12 13:06:07 CEST 2005
Hi,
Can we change position of arrows i.e. from end of the line to in between?
Like instead of ----> I want to change --->----
Here is the code in which I would like to change it.
Thanks
-Manjusha
\documentclass[a4paper,10pt]{article}
\usepackage{pstricks,pst-node,pst-tree}
\begin{document}
$
\psmatrix[colsep=2.5cm,rowsep=2.5cm,mnode=circle]
A&B\\
C&D
\psset{arrows=->,nodesep=1pt}
\everypsbox{\small}
\ncline{1,1}{1,2}^{2}
\ncarc[arcangle=-50,border=1pt]{1,2}{1,1}^{9}
\ncline{1,1}{2,1}<{1}
\ncline{2,1}{2,2}_{3}
\ncline{2,2}{1,2}>{1}
\ncline{1,2}{2,1}^{4}
\ncline{2,2}{1,1}>[npos=.7]{1}
\endpsmatrix
$
\end{document}
More information about the PSTricks
mailing list