Ok, I can do with serif then.

Thank you Hans !


Mathieu

Le 2012-06-06 à 03:45, Hans Hagen a écrit :

> On 6-6-2012 00:56, Mathieu Dupont wrote:
>> 
>> Hi mailing list,
>> Could someone help me figuring out what is the simplest way to have all my 
>> math font without serif, in the small example below, without losing 
>> anything, such as my \tau parameter ?
>> Thank you very much for any hint !
>> \enableregime[il1]
>> \setupbodyfont[sansserif,11pt]
>> \starttext
>> \startformula \startalign    \NC Q_{x_T}(H_0)\equiv 
>> Q(H_0)\NC=\sum_{H_1,\dots,H_{\tau^*-1}}\left(\prod_{\tau=0}^{\tau^*-1} 
>> h_{x_Tx_{T_0}}(H_\tau|H_{\tau+1})\;P_{x_{T_0}}(H_{\tau+1}|H_\tau)\right)\NR  
>>      \NC\NC=\sum_{H_1,\dots,H_{\tau^*-1}}\left(\prod_{\tau=0}^{\tau^*-1} 
>> h_{x_Tx_{T_0}}(H_\tau|H_{\tau+1})\prod_{\tau=0}^{\tau^*-1}P_{x_{T_0}}(H_{\tau+1}|H_\tau)\right)\NR
>>   \NC\NC=\Epsilon_{P_{x_{T_0}}}\left[\prod_{\tau=0}^{\tau^*-1} 
>> h_{x_Tx_{T_0}}(H_\tau|H_{\tau+1})\right]\NR\stopalign \stopformula
>> \stoptext
> 
> There is no sans math font (unless you have installed hvmath). It is still 
> under discussion if there will ever be a (complete) sans math font as part of 
> the tex gyre project.
> 
> In principle it's not that hard to fake one. You can for instance take one of 
> the *-math.lfg files and choose other font files and hope for the best. Math 
> and sans simply don't go well. Of course the sans math alphabets work with 
> most fonts so one can always go that route with a regular math font.
> 
> (I will probably cook up some simple variant some day suitable for elementary 
> math but that's easier as it uses less symbols.)
> 
> Hans
> 
> 
> -----------------------------------------------------------------
>                                          Hans Hagen | PRAGMA ADE
>              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
>                                             | www.pragma-pod.nl
> -----------------------------------------------------------------
> 

___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to