21 Dec
2006
21 Dec
'06
9:32 a.m.
Aditya Mahajan wrote:
definedash [[myeven]] [[on 3 off 3]] ;
beginfig(1) draw (0,0)--(100,100) dashed myeven ; endfig ; end;
Is there a better way to do this in metapost?
Not really, I think. A dash pattern like definedash [[stutter]] [[on 3 off 3 on 1 off 3]] ; is allowed, making a true key-value solution almost impossible. (and I expect similar situations with just about everything) Taco