ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: 14.4 fonts
Date: Wed, 02 Jun 1999 09:14:33 +0200	[thread overview]
Message-ID: <3754D9D9.621B97AD@wxs.nl> (raw)

David Arnold encountered problems with the 2nd presentation style that
uses 14.4pt fonts. 

In font-cmx.tex, the 14.4 tt entry was wrong (12pt). It should be:   

\definebodyfont [14,4pt,17.3pt,20.7pt] [tt]
  [tf=cmtt12   sa 1,
   sl=cmsltt10 sa 1,
   it=cmitt10  sa 1,
  tfa=cmtt12   sa 1.200,
  tfb=cmtt12   sa 1.440,
  tfc=cmtt12   sa 1.728,
  tfd=cmtt12   sa 2.074]

Change this in 'font-cmx.tex' and remake the format. Actually, the
second part of the whole definition file could be reduced to: 

\definebodyfont
  [14.4pt,17.3pt,20.7pt]
  [rm,ss,tt,mm]
  [default]

Because symbolic names are supported too. More on that in the (big)
manual. 

If one wants to define a font without using file names, say something
like:

  \definefont[TitleFont][Regular at 60pt]

and use it like: 

  \bgroup 
    \TitleFont Some Big Title 
  \egroup

or 

  \bgroup
    \TitleFont \setupinterlinepace  A Few Lines \par
  \egroup

the second alternative adapts the spacing to the current font. 

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl
-----------------------------------------------------------------


             reply	other threads:[~1999-06-02  7:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-02  7:14 Hans Hagen [this message]
1999-06-02 17:00 ` David Arnold

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=3754D9D9.621B97AD@wxs.nl \
    --to=pragma@wxs.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).