From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76746 Path: news.gmane.org!not-for-mail From: Mathieu Dupont Newsgroups: gmane.comp.tex.context Subject: Re: Changing math font - sansserif - sans serif Date: Wed, 06 Jun 2012 16:25:55 -0400 Message-ID: References: <4FCF0AAD.6070602@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1734116765==" X-Trace: dough.gmane.org 1339014366 18894 80.91.229.3 (6 Jun 2012 20:26:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 6 Jun 2012 20:26:06 +0000 (UTC) Cc: mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Wed Jun 06 22:26:04 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ScMns-0002eW-1B for gctc-ntg-context-518@m.gmane.org; Wed, 06 Jun 2012 22:26:04 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9BE3A101E3; Wed, 6 Jun 2012 22:26:03 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id AL6OWc5H16Nk; Wed, 6 Jun 2012 22:26:01 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9F065101DF; Wed, 6 Jun 2012 22:26:01 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D7890101DF for ; Wed, 6 Jun 2012 22:25:59 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id P-2sIzxEVQ2g for ; Wed, 6 Jun 2012 22:25:57 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id B04A7101DD for ; Wed, 6 Jun 2012 22:25:57 +0200 (CEST) Original-Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q56KPo2J031812 for ; Wed, 6 Jun 2012 22:25:51 +0200 Original-Received: from [192.168.0.100] ([173.177.132.103]) by VL-VM-MR003.ip.videotron.ca (Oracle Communications Messaging Exchange Server 7u4-22.01 64bit (built Apr 21 2011)) with ESMTP id <0M5700H45Q37XZD0@VL-VM-MR003.ip.videotron.ca> for ntg-context@ntg.nl; Wed, 06 Jun 2012 16:25:55 -0400 (EDT) In-reply-to: <4FCF0AAD.6070602@wxs.nl> X-Mailer: Apple Mail (2.1278) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=24.201.245.36; country=CA; region=QC; city=Joliette; latitude=46.0333; longitude=-73.4333; http://maps.google.com/maps?q=46.0333,-73.4333&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WHj8pP0P - d9bfc351f424 - 20120606 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.13 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:76746 Archived-At: --===============1734116765== Content-type: multipart/alternative; boundary="Boundary_(ID_6RHCHNYxkBS3nDao/V42kQ)" --Boundary_(ID_6RHCHNYxkBS3nDao/V42kQ) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: quoted-printable Ok, I can do with serif then. Thank you Hans ! Mathieu Le 2012-06-06 =E0 03:45, Hans Hagen a =E9crit : > On 6-6-2012 00:56, Mathieu Dupont wrote: >>=20 >> 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=3D\sum_{H_1,\dots,H_{\tau^*-1}}\left(\prod_{\tau=3D0}^{\tau^*-1}= = h_{x_Tx_{T_0}}(H_\tau|H_{\tau+1})\;P_{x_{T_0}}(H_{\tau+1}|H_\tau)\right)\N= R = \NC\NC=3D\sum_{H_1,\dots,H_{\tau^*-1}}\left(\prod_{\tau=3D0}^{\tau^*-1} = h_{x_Tx_{T_0}}(H_\tau|H_{\tau+1})\prod_{\tau=3D0}^{\tau^*-1}P_{x_{T_0}}(H_= {\tau+1}|H_\tau)\right)\NR = \NC\NC=3D\Epsilon_{P_{x_{T_0}}}\left[\prod_{\tau=3D0}^{\tau^*-1} = h_{x_Tx_{T_0}}(H_\tau|H_{\tau+1})\right]\NR\stopalign \stopformula >> \stoptext >=20 > 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. >=20 > 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. >=20 > (I will probably cook up some simple variant some day suitable for = elementary math but that's easier as it uses less symbols.) >=20 > Hans >=20 >=20 > ----------------------------------------------------------------- > 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 > ----------------------------------------------------------------- >=20 --Boundary_(ID_6RHCHNYxkBS3nDao/V42kQ) Content-type: text/html; charset=iso-8859-1 Content-transfer-encoding: quoted-printable Ok, I = can do with serif then.

Thank you Hans !
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=3D\sum_{H_1,\dots,H_{\tau^*-1}}\left(\prod_{\tau=3D0}^{\tau^*-1}= = h_{x_Tx_{T_0}}(H_\tau|H_{\tau+1})\;P_{x_{T_0}}(H_{\tau+1}|H_\tau)\right)\N= R = \NC\NC=3D\sum_{H_1,\dots,H_{\tau^*-1}}\left(\prod_{\tau=3D0}^{\tau^= *-1} = h_{x_Tx_{T_0}}(H_\tau|H_{\tau+1})\prod_{\tau=3D0}^{\tau^*-1}P_{x_{T_0}}(H_= {\tau+1}|H_\tau)\right)\NR = \NC\NC=3D\Epsilon_{P_{x_{T_0}}}\left[\prod_{\tau=3D0}^{\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


-----------------------------------------= ------------------------
=             &n= bsp;           &nbs= p;            =     Hans Hagen | PRAGMA ADE
=             &n= bsp;Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
=    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
=             &n= bsp;           &nbs= p;            =        | www.pragma-pod.nl
---------------= --------------------------------------------------


= --Boundary_(ID_6RHCHNYxkBS3nDao/V42kQ)-- --===============1734116765== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1734116765==--