On Sun, 8 Aug 2010, Armin Varmaz wrote:
Hi Aditya,
can you tell me how I can ensure as in AMSmath that the font size in abbreviations automatically match the font size of current text? see my example below.
Best Armin
******** EXAMPLE
Shorter example showing what goes wrong: \definealternativestyle[ImportantStyle] [{\definedfont[Kurier-Bold at 24pt]}] \defineframedtext[important][style=ImportantStyle] \starttext \startimportant Math $x$ does not scale \stopimportant \stoptext The reason is that you only specified how to scale text. To get the right math scaling you have to use \switchtobodyfont. You can go about it in two ways \defineframedtext[important][style={\switchtobodyfont[24pt]\ImportantStyle}] (which will scale the math font, but not change it to Kurier-Bold). Or you can define a typescript for kurier-bold (see type-otf for examples), and then use \usetypescript[kurier-bold] \defineframedtext[important][style={\switchtobodyfont[kurier-bold,24pt]}] Aditya