From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Mathieu Dupont <mathieudupont@hotmail.com>
Subject: Re: Changing math font - sansserif - sans serif
Date: Wed, 06 Jun 2012 09:45:49 +0200 [thread overview]
Message-ID: <4FCF0AAD.6070602@wxs.nl> (raw)
In-Reply-To: <COL107-W1968FC256B3406A5562995B20C0@phx.gbl>
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
___________________________________________________________________________________
next prev parent reply other threads:[~2012-06-06 7:45 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 [this message]
2012-06-06 20:25 ` Mathieu Dupont
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=4FCF0AAD.6070602@wxs.nl \
--to=pragma@wxs.nl \
--cc=mathieudupont@hotmail.com \
--cc=ntg-context@ntg.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).