[NTG-context] Changing math font - sansserif - sans serif

Mathieu Dupont mathieudupont at hotmail.com
Wed Jun 6 22:25:55 CEST 2012


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20120606/fd72f72e/attachment.html>


More information about the ntg-context mailing list