[NTG-context] How to override a font in a typescript

Giuseppe Bilotta gip.bilotta at iol.it
Fri Jul 8 15:24:10 CEST 2005


Friday, July 8, 2005 Hans Hagen wrote:

> you can define any typescript that you want, so

> \starttypescript [my-palatino] [ec]

>    \definetypeface [palatino] [rm] [serif] [palatino] [default]
> [encoding=\typescripttwo]
>    \definetypeface [palatino] [tt] [mono]  [courier]   [default]
> [encoding=\typescripttwo,rscale=1.075] % probably smaller, say .95
>    \definetypeface [palatino] [mm] [math]  [palatino]
> [default] [encoding=default]

> \stoptypescript

> \usetypescript[my-palatino][ec] ...

Ok so far, but having to rewrite all of it just to override a
single value seems excessive, to me. Isn't there a simple
way to only override only some things?

I had tried a \definetypeface line on its own, but it didn't
seem to work ...

-- 
Giuseppe "Oblomov" Bilotta



More information about the ntg-context mailing list