* Making all bold faced text colored?
@ 2011-03-11 11:03 Alasdair McAndrew
2011-03-11 11:30 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: Alasdair McAndrew @ 2011-03-11 11:03 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 183 bytes --]
In some overheads, I'd like all bold-faced font to appear in a given color,
say red. How do I set this up, so that {\bf some text} will display "some
text" in red?
Thanks,
Alasdair
[-- Attachment #1.2: Type: text/html, Size: 215 bytes --]
[-- Attachment #2: Type: text/plain, Size: 486 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Making all bold faced text colored?
2011-03-11 11:03 Making all bold faced text colored? Alasdair McAndrew
@ 2011-03-11 11:30 ` Hans Hagen
2011-03-11 12:25 ` Alasdair McAndrew
0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2011-03-11 11:30 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 11-3-2011 12:03, Alasdair McAndrew wrote:
> In some overheads, I'd like all bold-faced font to appear in a given color,
> say red. How do I set this up, so that {\bf some text} will display "some
> text" in red?
Fonts and colors are unrelated properties (and always will be in
context). The way to go is abstraction:
\definestartstop[important][color=red,style=bold]
test {\important test} or \important{test} test ...
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Making all bold faced text colored?
2011-03-11 11:30 ` Hans Hagen
@ 2011-03-11 12:25 ` Alasdair McAndrew
0 siblings, 0 replies; 3+ messages in thread
From: Alasdair McAndrew @ 2011-03-11 12:25 UTC (permalink / raw)
To: Hans Hagen, ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 1119 bytes --]
Thank you very much - that makes sense!
I'm moving slowly to ConTeXt after many years of LaTeX - so expect lots of
elementary questions from me, at least initially!
Thanks again,
Alasdair
On Fri, Mar 11, 2011 at 10:30 PM, Hans Hagen <pragma@wxs.nl> wrote:
> On 11-3-2011 12:03, Alasdair McAndrew wrote:
>
>> In some overheads, I'd like all bold-faced font to appear in a given
>> color,
>> say red. How do I set this up, so that {\bf some text} will display "some
>> text" in red?
>>
>
> Fonts and colors are unrelated properties (and always will be in context).
> The way to go is abstraction:
>
> \definestartstop[important][color=red,style=bold]
>
> test {\important test} or \important{test} test ...
>
>
> -----------------------------------------------------------------
> Hans Hagen | PRAGMA ADE
> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
> | www.pragma-pod.nl
> -----------------------------------------------------------------
>
[-- Attachment #1.2: Type: text/html, Size: 1785 bytes --]
[-- Attachment #2: Type: text/plain, Size: 486 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-03-11 12:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-11 11:03 Making all bold faced text colored? Alasdair McAndrew
2011-03-11 11:30 ` Hans Hagen
2011-03-11 12:25 ` Alasdair McAndrew
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).