Oliver Buerschaper wrote:
>> Sorry I missed this thread earlier. The default rule thickness in
>> is the eight font parameter of the fonts in math family 3. A bare
>> context file with the standard 12pt fonts gives the value 0.47998pt.
>> You can get the value via :
>>
>> \edef\defautlrulethickness{\the\fontdimen8\textfont3}
>>
>> Afaik, in all math setups three fonts in math family 3 are the same
>> actual font so just the one value will do. But the actual value
>> will definately vary a bit depending on the font setup. For example,
>> palatino 12pt has 0.708pt.
>
>
> 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}
(the \relax is now needed because there could be a digit following).
Best wishes,
Taco
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / 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
___________________________________________________________________________________