4 Sep
2024
4 Sep
'24
12:27 p.m.
Am Dienstag, 3. September 2024, 20:51:39 MESZ schrieb Wolfgang Schuster:
Gerion Entrup schrieb am 03.09.2024 um 18:28:
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}
You want \italicface (or \style[italicface]) which selects either \it or \bi.
\define\somename{HX{\italicface print}\autoinsertnextspace}
or
\define\somename{HX\style[italicface]{print}\autoinsertnextspace}
Wolfgang
Thanks, that answers my question! Gerion