Making all bold faced text colored?
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
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 -----------------------------------------------------------------
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
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 -----------------------------------------------------------------
participants (2)
-
Alasdair McAndrew
-
Hans Hagen