On 02/13/2016 12:23 AM, Alan BRASLAU wrote:
> [...]
> Is there some way to manipulate font switches so that
> \bold{This text is \slated{bold}}
> for example, would put the word "bold" into boldslanted?
> 
> A natural use of this is, e.g. headers that get typeset in bold. What
> if the title contains a word, say, in slanted (or, worse, some
> mathematics)?

Sorry, Alan, but I don’t see the point you’re trying to make.

I guess \em is your friend here:

    \starttext
    \startTEXpage[offset=1em]
    {\bf Heading {\em One}}

    {\bf Heading {\em One {\em Extended}}}

    {\bf Heading {\sl Two}}

    {\bf Heading {\sl One {\sl Extended}}}
    \stopTEXpage
    \stoptext

It has two main advantages over \sl: it accepts bold and double emphasis
means no emphasis.

Or what I am missing?

Just in case it helps,

Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to