16 Aug
2017
16 Aug
'17
3:47 p.m.
In my current project, section titles are typeset in SansBold while the body text (and that of the ToC) is roman. How can I define \definehighlight[emph], so that I get SansBoldItalic in titles and SerifItalic in body text and ToC? (Body text is not a problem.) MNWE: \setuphead[chapter][page=yes,style={\ss\bfc}] \setuphead[section][page=no,style={\ss\bfa}] \definehighlight[emph][style=\it] \starttext \completecontent \startchapter[title={My book \emph{\ConTeXt\ for Runaways}}] \startsection[title={Knuth, \emph{the professor}}] \input knuth \stopsection \stopchapter \stoptext Greetlings, Hraban --- http://www.fiee.net http://wiki.contextgarden.net GPG Key ID 1C9B22FD