[pstricks] Naive question

Hendri Adriaens Hendri at uvt.nl
Sat Apr 30 16:28:37 CEST 2005


> What should I write in order to be able to use it as:
> \macroname[color=red, linewidth=2pt]{ ---- }.....

Have a look at existing packages like pstricks-add
to see how to define pstricks objects (I don't know
too much about that either) and have a look at the
xkeyval docs for info on defining keys (you need to
use pst-xkey, which is an extension of xkeyval).

-Hendri.

http://www.ctan.org/tex-archive/macros/latex/contrib/xkeyval




More information about the PSTricks mailing list