[NTG-context] Abstracting styles

Pablo Rodriguez oinos at gmx.es
Thu Nov 28 14:50:23 CET 2019


On 11/27/19 2:52 PM, Juraj Fiala wrote:
> Hi, thanks for the reply!
>
> On Wednesday 27. November 2019 10:08, Hans Hagen <j.hagen at xs4all.nl> wrote:
>
>> \setuphead
>> [chapter]
>> [distance=2em,
>> style=\tfd,
>> textstyle={\smallcaps\setcharacterkerning[LittleMoreA]}]
>
> This doesn’t use Semibold however. Do I understand correctly that I
> need to make a Typescript for that to work?

Hi Juraj,

you don’t need to make a typescript.

Just add "[bf=style:semibold]" to the "\definefontfamily" command and
invoke it with "style=\bfd".

Of course, the first option replaces bold wit the semibold font.

Just in case it helps,

Pablo
--
http://www.ousia.tk


More information about the ntg-context mailing list