3 Sep
2024
3 Sep
'24
6:28 p.m.
Hi, I have the situation that I want to typeset a special formatted name within a section heading. The name contains an italic part while the heading is bold, but both styles are defined at another place. Is there a way to tell ConTeXt to combine them, so that it is bold _and_ italic? Here is a minimal example: ``` \define\somename{HX\style[italic]{print}\autoinsertnextspace} \setuphead[section, subject][style={\bfc}] \starttext \startsection[title=The \somename name] \somename is a strange written name. \stopsection \stoptext ``` In the normal text, HXprint is written correctly, in the section heading "print" is italic but not bold. Best Gerion