On Tue, 11 Nov 2008, Wolfgang Schuster wrote:

> 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.

textext("\switchtobodyfont[12pt" & decimal value)

& is the metapost string concat operator (from memory, haven't verified 
this)

Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to