ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Colored chapters and sections
@ 1999-05-27 19:18 David Arnold
  1999-05-28  0:38 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: David Arnold @ 1999-05-27 19:18 UTC (permalink / raw)


How would one color all of the chapter headings blue and all of the section
headings red? Couldn't find out how to do this in the beginner's manual.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Colored chapters and sections
  1999-05-27 19:18 Colored chapters and sections David Arnold
@ 1999-05-28  0:38 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 1999-05-28  0:38 UTC (permalink / raw)
  Cc: ntg-context

David Arnold wrote:

> How would one color all of the chapter headings blue and all of the section
> headings red? Couldn't find out how to do this in the beginner's manual.

\setuphead[chapter][color=blue]
\setuphead[section][color=red]

(there are also 'numbercolor' and 'textcolor')

Most commands that take a style can also take a color. 

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl
-----------------------------------------------------------------


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-05-28  0:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-05-27 19:18 Colored chapters and sections David Arnold
1999-05-28  0:38 ` Hans Hagen

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).