>> OK. However, this doesn't seem to scale properly within the same font >> … try the following: >> >> --- >> \edef\defaultrulethickness{\the\fontdimen8\textfont3} > > That is because of the \edef. Changing to a plain \def should help: > > \def\defaultrulethickness{\the\fontdimen8\textfont3\relax}
Yep, works! What's the correct way of piping this to MetaFun? Putting DefaultRuleThickness := \defaultrulethickness; into each "\startuseMPgraphic{}" block works, but how can I define this globally? Moving it into "\startMPinclusions" creates a scope problem … see also the other thread about BodyFontSize etc. Thanks for your help, Oliver ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________