[pstricks] npos with absolute values?
Christoph Bersch
usenet at bersch.net
Tue Oct 18 15:26:35 CEST 2005
Hi!
Is there a possibility to use npos with absolute values?
I have for example two nodes with a line between them and want to label
the connection at a fixed distance from one node, that means in the
following examples I would like something like
\ncput[npos=2cm]{Test}
instead of the relative positioning
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{pst-plot,pst-node}
\begin{document}
\begin{pspicture}(5,2)
\pnode(0,0){A}
\pnode(5,2){B}
\ncline{A}{B}
\ncput*[nrot=:U,npos=0.3]{Test}
\end{pspicture}
\end{document}
Thanks
Christoph
More information about the PSTricks
mailing list