From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \em producing red text?
Date: Tue, 21 Feb 2012 01:47:36 -0500 (EST) [thread overview]
Message-ID: <alpine.LNX.2.02.1202210146380.15944@ybpnyubfg.ybpnyqbznva> (raw)
In-Reply-To: <CAPGiC74mv-LubrinOBEoM6cTa+ENkDHhPneQ_ZNKB3eMvd6=qQ@mail.gmail.com>
On Tue, 21 Feb 2012, Alasdair McAndrew wrote:
> In some overheads I'm creating, I'd like emphasized text {\em like this} to
> appear as red. I hoped that something like this would work:
>
> \setupbodyfontenvironment[default][em={slanted, textcolor=red}]
>
> but it doesn't. What is the canonical way of obtaining red, emphasized,
> text?
\definehighlight[emph][style=slanted, color=red]
\emph{...}
Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2012-02-21 6:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-21 3:18 Alasdair McAndrew
2012-02-21 6:47 ` Aditya Mahajan [this message]
2012-02-21 9:19 ` Alasdair McAndrew
2012-02-21 12:05 ` Wolfgang Schuster
2012-02-21 12:21 ` Wolfgang Schuster
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=alpine.LNX.2.02.1202210146380.15944@ybpnyubfg.ybpnyqbznva \
--to=adityam@umich.edu \
--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).