From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85759 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Mixing math and text font Date: Sat, 4 Jan 2014 17:44:22 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1388853869 14154 80.91.229.3 (4 Jan 2014 16:44:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 4 Jan 2014 16:44:29 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Jan 04 17:44:36 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VzUKu-0003tx-Bq for gctc-ntg-context-518@m.gmane.org; Sat, 04 Jan 2014 17:44:32 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9033410202; Sat, 4 Jan 2014 17:44:31 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 6yKvOmtkqm4Q; Sat, 4 Jan 2014 17:44:29 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 85C7C101E8; Sat, 4 Jan 2014 17:44:29 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 706DB101E8 for ; Sat, 4 Jan 2014 17:44:27 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id t3q4WHgXFiDZ for ; Sat, 4 Jan 2014 17:44:25 +0100 (CET) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id B3603101E7 for ; Sat, 4 Jan 2014 17:44:25 +0100 (CET) Original-Received: from mail-bk0-x22d.google.com (mail-bk0-x22d.google.com [IPv6:2a00:1450:4008:c01::22d]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s04GiOkU026618 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Sat, 4 Jan 2014 17:44:25 +0100 Original-Received: by mail-bk0-f45.google.com with SMTP id mx13so5185784bkb.4 for ; Sat, 04 Jan 2014 08:44:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=TzpnJV0R9EC61w0D9Su5QuL+a4OIL+2bL9H6am4MYiE=; b=P+13iDt5TgTSJp+QrxWICk7DwKRIbzsB6Y0S9eKFYi/V2xWuyoki3+kUFBrVVUkslr 66Qo5AyyOSm69k8hl92yW01zmLBmY2fCpoMKDm5jpxl4nDHV0l/HHb7y3dPflT0XBrCW ylndXalgGqRH7rCNOLNg9kdqy7YVWcYHeYnwc1SQmjTDdIN9r67drliXrpPcQFO07F1k Rmk8+Mdq+9Fh+gVQj1yybrxywIvMhqvLlviA3fQZ8d+DSlShk5gO24k4IhSfCeBkDFeF heJV+WNYip85vlmEQLuOTX99G7j4eIWNlYp99A4TPz0AFK3fXKMiGkCN6LmZdH0w7SRp 1e2g== X-Received: by 10.205.36.12 with SMTP id sy12mr1174bkb.172.1388853864820; Sat, 04 Jan 2014 08:44:24 -0800 (PST) Original-Received: from keima.localdomain (x2f23ec5.dyn.telefonica.de. [2.242.62.197]) by mx.google.com with ESMTPSA id bg1sm32793483bkc.4.2014.01.04.08.44.23 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 04 Jan 2014 08:44:24 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.1827) X-Bayes-Prob: 0.0973 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4008:c01::22d; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03L9QIpzu - 6a212f04e048 - 20140104 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:85759 Archived-At: Am 04.01.2014 um 16:04 schrieb Joshua Kr=E4mer : > Dear list, > = > in my math, I would like one font (the text font) to be used for letters = > and digits and another font (the math font) to be used for mathematical = > symbols. I have tried it like that: > = > % Example 1 > \usemodule[simplefonts][size=3D40pt] > \setmathfont[termes] > \setmainfont[latinmodernroman] > \starttext > 123\\$ 123 \coprod \leftrightarrow $ > \stoptext > = > % Example 2 > \definetypeface [fonttest] [rm] [serif] [modern] > \definetypeface [fonttest] [mm] [math] [termes] > \setupbodyfont[fonttest, 40pt] > \starttext > 123\\$ 123 \coprod \leftrightarrow $ > \stoptext > = > In both examples, the math font is used for the whole formula. How can I = > mix the fonts? This is possible but you have to use the context suite [1] and not texlive = or miktex because the context version they provide doesn=92t include the ne= cessary mechanism. [1] http://wiki.contextgarden.net/ConTeXt_Standalone Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________