From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44686 Path: news.gmane.org!not-for-mail From: Mohamed Bana Newsgroups: gmane.comp.tex.context Subject: Re: using different font faces and sizes in same document Date: Fri, 10 Oct 2008 15:49:46 +0100 Message-ID: References: <115224fb0810100004x6fb5a0f8sbe22e1a31fdf017b@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1223653906 18123 80.91.229.12 (10 Oct 2008 15:51:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 10 Oct 2008 15:51:46 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 10 17:52:42 2008 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 lo.gmane.org with esmtp (Exim 4.50) id 1KoKI2-0006d8-Io for gctc-ntg-context-518@m.gmane.org; Fri, 10 Oct 2008 17:52:30 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9981A1FB8E; Fri, 10 Oct 2008 17:51:24 +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 27206-02-3; Fri, 10 Oct 2008 17:50:36 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 438631FB5B; Fri, 10 Oct 2008 17:50:36 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 166EB1FB14 for ; Fri, 10 Oct 2008 17:50:35 +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 23921-02-23 for ; Fri, 10 Oct 2008 17:50:00 +0200 (CEST) Original-Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by ronja.ntg.nl (Postfix) with ESMTP id D1C071FB5B for ; Fri, 10 Oct 2008 17:50:00 +0200 (CEST) Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KoKFa-0003u8-3i for ntg-context@ntg.nl; Fri, 10 Oct 2008 15:49:58 +0000 Original-Received: from 87-194-191-26.bethere.co.uk ([87.194.191.26]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Oct 2008 15:49:58 +0000 Original-Received: from m.bana.lists by 87-194-191-26.bethere.co.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Oct 2008 15:49:58 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 59 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 87-194-191-26.bethere.co.uk User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) In-Reply-To: <115224fb0810100004x6fb5a0f8sbe22e1a31fdf017b@mail.gmail.com> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:44686 Archived-At: Thanks! :) Wolfgang Schuster wrote: > On Fri, Oct 10, 2008 at 2:01 AM, Mohamed Bana wrote: >> hi guys, >> >> \definetypeface[adobe][rm][serif][minionpro][default] >> %\definetypeface[adobe][rm][serif][agaramondpro][default] >> \definetypeface[adobe][ss][sans][myriadpro][default] >> %\definetypeface[adobe][ss][sans][cronospro][default] >> \setupbodyfont[adobe,11pt] > > \definetypeface[one][rm][serif][agaramondpro][default] > \definetypeface[one][ss][sans][cronospro][default] > > \definetypeface[two][rm][serif][minionpro][default] > \definetypeface[two][ss][sans][myriadpro][default] > >> Given the above, the document will be typeset only in minion pro, I'd >> like to know how to typeset parts of the document in different faces and >> sizes. For instance, I'd like the first section in minionpro 11pt, then >> say, any other arbitrary section (I choose manually), to be typeset in >> minionpro 12pt. >> >> So; >> >> section1; minionpro 11pt as serif, minionpro as sans >> section2; minionpro 12pt as serif, minionpro as sans >> section3; garamondpro 11pt as serif, cronospro as sans >> section4; garamondpro 12pt as serif, cronospro as sans >> >> etc. > > \setupbodyfont[one,11pt] > > \starttext > > .... > > \switchtobodyfont[two,12pt] > > .... > > \switchtobodyfont[one,11pt] > > .... > > \stoptext > > Wolfgang > ___________________________________________________________________________________ > 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 : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ > ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________