[pstricks] Using PostScript-code for nodesep
Herbert Voss
Herbert.Voss at FU-Berlin.DE
Thu Mar 25 18:06:39 CET 2010
Am 25.03.2010 17:11, schrieb Marco Daniel:
> in the minimal example you can see the problem.
>
> \documentclass{minimal}
> \usepackage{pst-node}
> \begin{document}
> \begin{pspicture}(0,0)(4,4)
> \psgrid[subgriddiv=0]
> \pstVerb{/Abstand 1 def}
> \Cnode*(0,0){A}\Cnode*(3,3){B}
> \ncline[nodesepB={!-Abstand}]{A}{B}
> \end{pspicture}
> \end{document}
>
> Is there a possibility to use Post Script-Code.
Not really ...
\makeatletter
\def\psk at nodesepA{ -28 }\def\psk at nodesepB{ -28 }
\makeatother
\ncline{A}{B}
Herbert
More information about the PSTricks
mailing list