[pstricks] definitions inside definitions

Jean-Paul Vignault jpv at melusine.eu.org
Thu Aug 5 22:23:24 CEST 2010


 > Is there a way to structure this so that these three definitions
 > appear only once in the definition of the curve?

You can factorize by using solidmemory and \codejps :
 
http://syracuse.eu.org/lab/bpst/pst-solides3d/tutoriel/factorisation_variables.pst
but the functions "X" and "thet" and the constant "rho" are defined for
all the picture.

If you have conflicts, maybe you can try with more unusual name (myX,
my_X, etc...)

Jean-Paul



More information about the PSTricks mailing list