From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44675 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: using different font faces and sizes in same document Date: Fri, 10 Oct 2008 09:04:48 +0200 Message-ID: <115224fb0810100004x6fb5a0f8sbe22e1a31fdf017b@mail.gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1223622694 20326 80.91.229.10 (10 Oct 2008 07:11:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 10 Oct 2008 07:11:34 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 10 09:46:42 2008 connect(): Connection refused 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 dough.gmane.org with esmtp (Exim 4.50) id 1KoChu-0007pF-4X for gctc-ntg-context-518@m.gmane.org; Fri, 10 Oct 2008 09:46:42 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5BD971FBAC; Fri, 10 Oct 2008 09:06:22 +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 11496-06-5; Fri, 10 Oct 2008 09:05:23 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BE18C1FB57; Fri, 10 Oct 2008 09:05:23 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6B03C1FB57 for ; Fri, 10 Oct 2008 09:05:22 +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 11503-02-2 for ; Fri, 10 Oct 2008 09:04:48 +0200 (CEST) Original-Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by ronja.ntg.nl (Postfix) with ESMTP id E89801FADC for ; Fri, 10 Oct 2008 09:04:48 +0200 (CEST) Original-Received: by nf-out-0910.google.com with SMTP id c10so192295nfd.44 for ; Fri, 10 Oct 2008 00:04:48 -0700 (PDT) Original-Received: by 10.103.11.5 with SMTP id o5mr763914mui.85.1223622288506; Fri, 10 Oct 2008 00:04:48 -0700 (PDT) Original-Received: by 10.103.215.10 with HTTP; Fri, 10 Oct 2008 00:04:48 -0700 (PDT) In-Reply-To: Content-Disposition: inline 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:44675 Archived-At: 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 ___________________________________________________________________________________