ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Miguel Queiros <tex@mqueiros.com>
Subject: Re: colored, marginal chapter numbers
Date: Thu, 20 Apr 2006 20:43:03 +0100	[thread overview]
Message-ID: <1145562183.9146.2.camel@localhost.localdomain> (raw)
In-Reply-To: <E1FWen6-0007Ha-5m@approximate.corpus.cam.ac.uk>


[...]

> Is there a recommended way of doing this?  I could put blue into the
> \sectionnumber command, but I'd prefer to specify the color only once
> (the numbercolor and color specifications were an attempt at overkill).
> Plus I'd like to understand what's going on.

I can't test it right now, but did you tried with:

\setupcolors[state=start]
\setupheads[alternative=inmargin]
\setuphead[chapter][color=blue]
\starttext
\chapter{One}
\stoptext

Miguel Queirós


_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

  reply	other threads:[~2006-04-20 19:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-20 19:26 Sanjoy Mahajan
2006-04-20 19:43 ` Miguel Queiros [this message]
2006-04-20 20:37   ` Sanjoy Mahajan
2006-04-20 19:54 ` nico
2006-04-20 20:38   ` Sanjoy Mahajan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1145562183.9146.2.camel@localhost.localdomain \
    --to=tex@mqueiros.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).