ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mathieu Dupont <mathieudupont@hotmail.com>
To: Hans Hagen <pragma@wxs.nl>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Changing math font - sansserif - sans serif
Date: Wed, 06 Jun 2012 16:25:55 -0400	[thread overview]
Message-ID: <C8B1F4B2-2D48-4CB3-98B4-42E3D637131B@hotmail.com> (raw)
In-Reply-To: <4FCF0AAD.6070602@wxs.nl>


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

      reply	other threads:[~2012-06-06 20:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-05 22:56 Mathieu Dupont
2012-06-06  7:45 ` Hans Hagen
2012-06-06 20:25   ` Mathieu Dupont [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C8B1F4B2-2D48-4CB3-98B4-42E3D637131B@hotmail.com \
    --to=mathieudupont@hotmail.com \
    --cc=ntg-context@ntg.nl \
    --cc=pragma@wxs.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).