[pstricks] conceptual question for pst-optexp

Herbert Voss Herbert.Voss at FU-Berlin.DE
Wed Jun 18 09:41:39 CEST 2008

Christoph schrieb:
 > Referring to this and to simplify the access to these nodes I want to
 > define a macro that connects two components:
 > \optBeam{compname1}{compname2}
 > This is no problem, but I was thinking that it would be nice to allow
 > using a node or coordinate pair instead of one compname:
 > \optBeam{(0,1)}{compname2}
 > or
 > \optBeam{compname1}{(4,4)}
 > would then connect a node with a component. How can I implement such a
 > macro. My TeX knowledge is still somewhat limited, so I need some help
 > on how to do this best :-)

this is way how pst-node works. Look for \ncline as an example.
With SpecialCoor all types are checked.


More information about the PSTricks mailing list