[NTG-context] math functions

Taco Hoekwater taco at elvenkind.com
Sat Aug 13 12:20:44 CEST 2005



billet at eurecom.fr wrote:
> Hi,
> 
> I would like to set the font used for math functions like \sin to be
> the body font. Of course, it should go for scriptsize when used in
> exponents.

But they do that already, at least in the default font setup. Well,
you can try this:

   \def\mfuction#1%
     {\mathchoice
       {\hbox{\rm \tf #1}}
       {\hbox{\rm \tf #1}}
       {\hbox{\rm \tfx #1}}
       {\hbox{\rm \tfxx #1}}}

Cheers, Taco





More information about the ntg-context mailing list