ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Zhichu Chen" <zhichu.chen@gmail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: Section title font define
Date: Tue, 3 Apr 2007 17:31:35 +0800	[thread overview]
Message-ID: <769ba7780704030231k491334e5ga0f9605de0f8c5d7@mail.gmail.com> (raw)
In-Reply-To: <f32c35750704030214g4290eb99s221c31c8806daaaf@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1276 bytes --]

Hi Roy,

I think these little will do what you want:
====================================
\setupbodyfont [11pt] <file://\\definebodyfont[11pt][rm][tff=Regular>
\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
----------------------------------------------------------------

[-- Attachment #1.2: Type: text/html, Size: 2680 bytes --]

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

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

  reply	other threads:[~2007-04-03  9:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-03  9:14 Roy Zuo
2007-04-03  9:31 ` Zhichu Chen [this message]
2007-04-03 10:15 ` Mari Voipio
2007-04-03 10:40 ` Wolfgang Schuster
2007-04-03 11:17   ` Roy Zuo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=769ba7780704030231k491334e5ga0f9605de0f8c5d7@mail.gmail.com \
    --to=zhichu.chen@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).