ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* 14.4 fonts
@ 1999-06-02  7:14 Hans Hagen
  1999-06-02 17:00 ` David Arnold
  0 siblings, 1 reply; 2+ messages in thread
From: Hans Hagen @ 1999-06-02  7:14 UTC (permalink / 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
-----------------------------------------------------------------


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 14.4 fonts
  1999-06-02  7:14 14.4 fonts Hans Hagen
@ 1999-06-02 17:00 ` David Arnold
  0 siblings, 0 replies; 2+ messages in thread
From: David Arnold @ 1999-06-02 17:00 UTC (permalink / raw)
  Cc: ntg-context

All, Yahoo! This worked! :-) However, be careful cutting and pasting

\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]

into font-cmx.tex. Note the 14,4pt is wrong, which should be 14.4pt.

At 09:14 AM 6/2/99 +0200, you wrote:
>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
>-----------------------------------------------------------------
>
>
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-06-02 17:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-06-02  7:14 14.4 fonts Hans Hagen
1999-06-02 17:00 ` David Arnold

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).