[pstricks] SpecialCoor with pst-node nc*<function>

Herbert Voss Herbert.Voss at fu-berlin.de
Tue Nov 13 08:41:30 CET 2007


Patrick Drechsler schrieb:

> I could not find a reference for not using \SpecialCoor with nc*
> commands provided by the pst-node package.
> 
> I was trying to replace some "\psline" commands with "\ncline".
> 
> This example results in a ghostscript error (see below):

\SpecialCoor is not possible for \nc... commands, use
instead \pcline (note the c!) or define a second node

\listfiles
\documentclass{article}
\usepackage{pstricks,pst-node}
\SpecialCoor
\begin{document}

\begin{pspicture}[showgrid=true](2,2)
   \pnode(1,1){A}\pnode([offset=0.5]A){B}
   \pcline[linecolor=red](A)([nodesep=0.5]A)
   \ncline[linecolor=blue]{A}{B}
\end{pspicture}

\end{document}


Herbert




More information about the PSTricks mailing list