[NTG-context] definefont

Wolfgang Schuster wolfgang.schuster.lists at gmail.com
Wed Jan 23 17:37:10 CET 2019


Henning Hraban Ramm schrieb am 23.01.19 um 17:32:
> And how can I \definefont so that \em or \emph works the same as in bodyfont?

You can’t.

> Or, the other way round, how must I \definehighlight[emph][style=italic] so that it works in all sizes?
> 
> -----
> \setupbodyfont[rm,12pt]
> 
> \definefont[TitleFont][SansBold*default sa 3]
> 
> \setuphead[chapter][style=\TitleFont,page=no]

\setuphead
   [chapter]
   [style={\switchtobodyfont[ss,36pt]}]

Wolfgang


More information about the ntg-context mailing list