Am Dienstag, 3. September 2024, 20:31:31 MESZ schrieb Pablo Rodriguez via ntg-context: > On 9/3/24 18:28, Gerion Entrup wrote: > > 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? > Hi Gerion, > > you may combine emphasis with bold and set emphasis to italic (default > is slanted), such as in: > > \setupbodyfontenvironment [default] [em=italic] > > \define\somename{HX{\em print}\autoinsertnextspace} > > I hope it helps, > > Pablo
Thank you, that works for the minimal example and in my case but has the side effect to modify emphasis. I wonder, if there is another solution without side effects. Gerion
signature.asc
Description: This is a digitally signed message part.
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________