From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/34100 Path: news.gmane.org!not-for-mail From: "Zhichu Chen" Newsgroups: gmane.comp.tex.context Subject: Re: Section title font define Date: Tue, 3 Apr 2007 17:31:35 +0800 Message-ID: <769ba7780704030231k491334e5ga0f9605de0f8c5d7@mail.gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1949255848==" X-Trace: sea.gmane.org 1175592717 16192 80.91.229.12 (3 Apr 2007 09:31:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 3 Apr 2007 09:31:57 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 03 11:31:53 2007 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 1HYfMm-0005CG-NY for gctc-ntg-context-518@m.gmane.org; Tue, 03 Apr 2007 11:31:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2D48020118; Tue, 3 Apr 2007 11:31:52 +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 22422-02-6; Tue, 3 Apr 2007 11:31:45 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8A49720162; Tue, 3 Apr 2007 11:31:45 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BE98C201AA for ; Tue, 3 Apr 2007 11:31:41 +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 22678-05-6 for ; Tue, 3 Apr 2007 11:31:37 +0200 (CEST) Original-Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by ronja.ntg.nl (Postfix) with ESMTP id 2B69120162 for ; Tue, 3 Apr 2007 11:31:37 +0200 (CEST) Original-Received: by ug-out-1314.google.com with SMTP id m2so269219uge for ; Tue, 03 Apr 2007 02:31:37 -0700 (PDT) Original-Received: by 10.114.75.1 with SMTP id x1mr2143769waa.1175592695871; Tue, 03 Apr 2007 02:31:35 -0700 (PDT) Original-Received: by 10.114.107.11 with HTTP; Tue, 3 Apr 2007 02:31:35 -0700 (PDT) In-Reply-To: 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:34100 Archived-At: --===============1949255848== Content-Type: multipart/alternative; boundary="----=_Part_6245_7718623.1175592695831" ------=_Part_6245_7718623.1175592695831 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Roy, I think these little will do what you want: ==================================== \setupbodyfont [11pt] \definebodyfont[11pt][rm][tff=Regular at 18pt] \setuphead [chapter] [textstyle=\tff, numberstyle=\tff] ==================================== On 4/3/07, Roy Zuo wrote: > > Hi all, > > I am going to write my thesis with ConTeXt. The problem is that our > University wants chapter titles to be 18 points while body text is 11 > points. I do not want to use \switchtobodyfont every time I type a chapter > title, but I have no idea how to make it a style in the setup area. > Any hints? Thanks a lot. > > Yous, > > Roy > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > > -- Sincerely yours, Chen ---------------------------------------------------------------- Zhi-chu Chen | Shanghai Synchrotron Radiation Facility No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China tel: 086 21 5955 3405 | zhichu.chen.googlepages.com | www.sinap.ac.cn ---------------------------------------------------------------- ------=_Part_6245_7718623.1175592695831 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hi Roy,
 
I think these little will do what you want:
====================================
\setupbodyfont [11pt]
\definebodyfont[11pt][rm][tff=Regular at 18pt]
 
\setuphead
  [chapter]
  [textstyle=\tff,
   numberstyle=\tff]
====================================

 
On 4/3/07, Roy Zuo <roylzuo@gmail.com> wrote:
Hi all,

I am going to write my thesis with ConTeXt. The problem is that our University wants chapter titles to be 18 points while body text is 11 points. I do not want to use \switchtobodyfont every time I type a chapter title, but I have no idea how to make it a style in the setup area.
Any hints? Thanks a lot.

Yous,

Roy

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context




--
Sincerely yours,
Chen
----------------------------------------------------------------

          Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
         No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
             tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
                                               | www.sinap.ac.cn
---------------------------------------------------------------- ------=_Part_6245_7718623.1175592695831-- --===============1949255848== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --===============1949255848==--