[NTG-context] Arbitrary font size

Wolfgang Schuster schuster.wolfgang at gmail.com
Fri Jul 6 06:15:55 CEST 2012


Am 06.07.2012 um 01:34 schrieb Troy Henderson:

> I would like to know if there is a command like \tfn{0.9} which would allow the user to specify an arbitrary font scale factor since the built-in \tfa, \tfb, \tfc, \tfd, \tfx, and \tfxx are insufficient for one of my projects.

\definefontsize[n]

\definebodyfontenvironment[default][n=0.9]

\starttext

Normal {\tfa Size A} {\tfb Size B} {\tfn Size N}

\stoptext

You can also change the scale values for \tfa, \tfb etc. with \setupbodyfontenvironment[default][a=…,b=…,…]

Wolfgang


More information about the ntg-context mailing list