[NTG-context] Making all bold faced text colored?

Alasdair McAndrew amca01 at gmail.com
Fri Mar 11 13:25:09 CET 2011


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 at 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
> -----------------------------------------------------------------
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20110311/a878a3d1/attachment.html>


More information about the ntg-context mailing list