ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez <oinos@gmx.es>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: font switches: bold, slanted, etc.
Date: Sat, 13 Feb 2016 02:14:10 +0100	[thread overview]
Message-ID: <56BE8362.7030309@gmx.es> (raw)
In-Reply-To: <20160212162306.42e612a9@cea.fr>

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	other threads:[~2016-02-13  1:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-12 23:23 Alan BRASLAU
2016-02-13  1:14 ` Pablo Rodriguez [this message]
2016-02-13 10:02   ` Alan BRASLAU
2016-02-13 10:20     ` Pablo Rodriguez
2016-02-13  9:53 ` Wolfgang Schuster
2016-02-13 10:30   ` Alan BRASLAU
2016-02-13 10:47     ` Wolfgang Schuster
2016-02-13 15:55       ` Alan BRASLAU
2016-02-13 17:11         ` Wolfgang Schuster
2016-02-13 11:42 ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56BE8362.7030309@gmx.es \
    --to=oinos@gmx.es \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).