At 11:09 AM 3/28/2002 -0500, John Culleton wrote:
>On Thursday 28 March 2002 02:46, Hans Hagen wrote:
> >> You can apprach fonts in two ways:
> >
> > make files with lots of:
> >
> > \definefont
> >    [10pt,12pt,14pt]
> >    [rm]
> >    [tf=fontname sa 1,
> >     bf=boldfontname sa 1,
> >     ...]
> >
> > that way you can use berry names,
> >
>One more question:
>
>If I want to use e.g., font a for the body, font b for the chapter
>and section heads and font c for the table of contents (use Bookman
>Helvetica and Palatino for illustration) how do I arrange that?
>The font scheme seems to be based on using one font throughout.
>Does this require special scripting?

no,

\setupbodyfont
   [10pt][rm]
   [tf=cmr10 at 10pt,
    tfa=cmss10 at 20pt]

is legal. However, if you want to support more complex font situations, you 
can also define several typefaces at difference sizes, and mix those; 
another option is:

\definefont{MyBigChapFont][..... at ...] % latest beta also supports an 
addition argument: [line=..pt]

\setuphead[chapter][style=MyBigChapFont]

This is what we often do when special fonts are used for heads, pagenumbers 
etc.

Hans




-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                                   fall-back web server: 
www.pragma-ade.nl
-------------------------------------------------------------------------

Reply via email to