From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/27606 Path: news.gmane.org!not-for-mail From: "Thomas A. Schmitz" Newsgroups: gmane.comp.tex.context Subject: Re: Mixing fonts ? Date: Wed, 03 May 2006 13:25:41 +0200 Message-ID: <1146655541.6576.4.camel@localhost> References: <44588BEC.7070708@cs.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1146655569 32196 80.91.229.2 (3 May 2006 11:26:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 3 May 2006 11:26:09 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed May 03 13:25:59 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1FbFUT-0006V8-BY for gctc-ntg-context-518@m.gmane.org; Wed, 03 May 2006 13:25:57 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1C668127B5; Wed, 3 May 2006 13:25:57 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27481-02-2; Wed, 3 May 2006 13:25:53 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DBC3D127B2; Wed, 3 May 2006 13:25:52 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8AE53127A5 for ; Wed, 3 May 2006 13:25:43 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27480-02-2 for ; Wed, 3 May 2006 13:25:42 +0200 (CEST) Original-Received: from uni-bonn.de (mail.uni-bonn.de [131.220.15.112]) by ronja.ntg.nl (Postfix) with SMTP id 44E6912792 for ; Wed, 3 May 2006 13:25:42 +0200 (CEST) Original-Received: from homer.philologie.uni-bonn.de ([131.220.89.142] verified) by uni-bonn.de (CommuniGate Pro SMTP 5.0.8) with ESMTP id 31159766 for ntg-context@ntg.nl; Wed, 03 May 2006 13:25:41 +0200 Original-To: mailing list for ConTeXt users In-Reply-To: <44588BEC.7070708@cs.com> X-Mailer: Evolution 2.6.1 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:27606 Archived-At: On Wed, 2006-05-03 at 12:54 +0200, WN wrote: > I am trying to learn more about font switching (read the font manuals > but to no avail). > The thing I am trying to do is : > > * For normal text I want to use the Times-Roman font > * For math's I want to use a different font, i.e. Computer Modern > > I think I have to work with typescripts and use combinations of > \setupbodyfont but > I cannot work out the proper combination. > > Thanks for any help > Regards > Wim This should work: \usetypescript[modern] \usetypescript[times][ec] \definetypeface[MyFace][rm][serif][times][default][encoding=ec] \definetypeface[MyFace][mm][math][modern][default][encoding=ec] \setupbodyfont[MyFace,12pt] There's some interesting stuff on the wiki: http://wiki.contextgarden.net/Psnfss HTH Thomas