[pstricks] Using \@ifnextchar in node definition

Herbert Voss Herbert.Voss at FU-Berlin.DE
Wed Nov 11 14:29:48 CET 2009

Am 11.11.2009 13:37, schrieb Christoph Bersch:

> how can I use commands that use \@ifnextchar to build node names? The
> following does not work:

PSTricks checks the first character of the coordinates to decide what
kind of values are present. For nodes it compares the catcode of "a"
with the first character of the argument. If it is the same catcode, it
must be a node. This doesn't work with your \mynode, because it has
another catcode than "a"


More information about the PSTricks mailing list