[NTG-context] 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 ___ 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 ___
Re: [NTG-context] Making all bold faced text colored?
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 ___
Re: [NTG-context] Making all bold faced text colored?
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 pra...@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 - ___ 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 ___