From: Alasdair McAndrew <amca01@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Text Colour
Date: Wed, 31 Aug 2011 15:04:11 +1000 [thread overview]
Message-ID: <CAPGiC74g7_7ojMOUO8stcoXzS46=Lj=O-GD4vh1L16rrS6q9tQ@mail.gmail.com> (raw)
In-Reply-To: <alpine.LNX.2.02.1108310018370.13666@ybpnyubfg.ybpnyqbznva>
[-- Attachment #1.1: Type: text/plain, Size: 1526 bytes --]
This brings up a question I have - how do I obtain, say, all {\tt } text in
blue and all {\em } text in red? I seem to be using MkII, and I don't have
access to the \definehighlight command.
Thanks,
Alasdair
On Wed, Aug 31, 2011 at 2:19 PM, Aditya Mahajan <adityam@umich.edu> wrote:
> On Tue, 30 Aug 2011, Kip Warner wrote:
>
> Hey folks,
>>
>> How do I set the body text foreground colour? I tried the following, but
>> it just ignored it:
>>
>> \definecolor[colour_text][r=0.**754,g=0.516,b=0.324]
>>
>> \setupbodyfontenvironment
>> [default]
>> [em=italic,
>> color=colour_text]
>>
>> I don't want to have to use \startcolor and \stopcolor every time I wish
>> this default to be applied.
>>
>
> \definehighlight[emph][style=**em,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 <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/<http://foundry.supelec.fr/projects/contextrev/>
> wiki : http://contextgarden.net
> ______________________________**______________________________**
> _______________________
>
--
Blog: http://amca01.wordpress.com
Web: http://bit.ly/Alasdair
Facebook: http://www.facebook.com/alasdair.mcandrew
[-- Attachment #1.2: Type: text/html, Size: 2594 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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:[~2011-08-31 5:04 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-31 1:57 Kip Warner
2011-08-31 2:16 ` Alasdair McAndrew
2011-08-31 4:18 ` Kip Warner
2011-08-31 3:24 ` Wolfgang Schuster
2011-08-31 6:05 ` Kip Warner
2011-08-31 4:19 ` Aditya Mahajan
2011-08-31 5:04 ` Alasdair McAndrew [this message]
2011-08-31 13:00 ` 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='CAPGiC74g7_7ojMOUO8stcoXzS46=Lj=O-GD4vh1L16rrS6q9tQ@mail.gmail.com' \
--to=amca01@gmail.com \
--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).