ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Changing math font - sansserif - sans serif
@ 2012-06-05 22:56 Mathieu Dupont
  2012-06-06  7:45 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Mathieu Dupont @ 2012-06-05 22:56 UTC (permalink / raw)
  To: ConTeXt


[-- Attachment #1.1: Type: text/plain, Size: 826 bytes --]


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

Mathieu 		 	   		  

[-- Attachment #1.2: Type: text/html, Size: 1649 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Changing math font - sansserif - sans serif
  2012-06-05 22:56 Changing math font - sansserif - sans serif Mathieu Dupont
@ 2012-06-06  7:45 ` Hans Hagen
  2012-06-06 20:25   ` Mathieu Dupont
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2012-06-06  7:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Mathieu Dupont

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Changing math font - sansserif - sans serif
  2012-06-06  7:45 ` Hans Hagen
@ 2012-06-06 20:25   ` Mathieu Dupont
  0 siblings, 0 replies; 3+ messages in thread
From: Mathieu Dupont @ 2012-06-06 20:25 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2046 bytes --]

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


[-- Attachment #1.2: Type: text/html, Size: 4651 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-06-06 20:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-05 22:56 Changing math font - sansserif - sans serif Mathieu Dupont
2012-06-06  7:45 ` Hans Hagen
2012-06-06 20:25   ` Mathieu Dupont

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).