ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Wolfgang Schuster" <schuster.wolfgang@googlemail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: Section title font define
Date: Tue, 3 Apr 2007 12:40:18 +0200	[thread overview]
Message-ID: <115224fb0704030340u757a1891n8ff843535e1e74f@mail.gmail.com> (raw)
In-Reply-To: <f32c35750704030214g4290eb99s221c31c8806daaaf@mail.gmail.com>


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

2007/4/3, Roy Zuo <roylzuo@gmail.com>:
>
> 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


Hi Roy,

\definefont[chapterfont][Sans at 18pt]
\setuphead[chapter][style=\titlefont]

\setupbodyfont[12pt]

\starttext

\chapter{Knuth}

\input knuth

\stoptext

Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 930 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

  parent reply	other threads:[~2007-04-03 10:40 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
2007-04-03 10:15 ` Mari Voipio
2007-04-03 10:40 ` Wolfgang Schuster [this message]
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=115224fb0704030340u757a1891n8ff843535e1e74f@mail.gmail.com \
    --to=schuster.wolfgang@googlemail.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).