On Tue, Nov 11, 2008 at 3:36 PM, Aditya Mahajan <[EMAIL PROTECTED]> wrote: > On Tue, 11 Nov 2008, Wolfgang Schuster wrote: > >> And how could one change the font/style for the number? > > Do you mean with textext, or with the macro that Hans is proposing to > define?
I mean in the example from Hans with textext(decimal value). > textext(string) will typeset the string using context, so you can add > "\switchtobodyfont[whatever]" in there. > > The new label macro can use labelfont (or defaultfont, I always forget > what metapost uses) to switch the font. In that case there should also be > a label color, unless > draw textext("something") withcolor red ; > works (sorry, I haven't tested this) I prefer \doattributes with a setup command and use this in my modules. Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________