[pstricks] Defining and using Postscript procedures with pstricks?

Remi Coulom Remi.Coulom at free.fr
Mon Apr 1 21:01:13 CEST 2002


In a very big automatically generated pstricks figure I made, I have thousands
of pslines that all have the same pstricks options and the same structure:

My problem is that it generates a huge postscript file. What I would like to do
is replace the long code generated by pstricks by more compact postscript. For
instance, it would be nice to have some code like
x0 y0 x1 y1 x2 y2 /MyMacro
in the ps file. I believe it would make my file about 10 times smaller, which
would be very nice.

I'd appreciate very much if someone could give me indications on how to do this.



More information about the PSTricks mailing list