[NTG-context] Newbie: font sizes

Mojca Miklavec mojca.miklavec.lists at gmail.com
Sat Dec 30 04:20:28 CET 2006


On 12/28/06, Elliot Clifton wrote:
> Hello,
>
> I've read the fonts manual, but I don't understand how to change
> sizes. How can I change the sizes referred to by the sizes selectors
> \tfx etc...

I'm not sure if this is the proper way, but take a look into
font-map.tex (I just figured out that that file is not present on
source.contextgarden.net, so please excuse me for a bad advice if you
didn't find it).

You can do something like that:

\definebodyfont [14.4pt,12pt,11pt,10pt,9pt,8pt] [rm]
  [tfa=Serif         sa 1.200,
   tfb=Serif         sa 3,
   tfc=Serif         sa 5,
   tfd=Serif         sa 10,
  ]

\setupbodyfont[14.4pt]
% this size has to be mentioned above
% (you can add it); don't ask me what happens if it's not

\starttext
normal
\tfa tfa
\tfb tfb
\tfc tfc
\tfd tfd
\stoptext


Mojca


More information about the ntg-context mailing list