From: nico <nicolas.marsgui@libertysurf.fr>
Subject: Re: colored, marginal chapter numbers
Date: Thu, 20 Apr 2006 21:54:12 +0200 [thread overview]
Message-ID: <ops8bn8mxr9niby6@localhost> (raw)
In-Reply-To: <E1FWen6-0007Ha-5m@approximate.corpus.cam.ac.uk>
On Thu, 20 Apr 2006 15:26:12 -0400, Sanjoy Mahajan <sanjoy@mrao.cam.ac.uk>
wrote:
> I get colored chapter text and numbers with:
>
> \setupcolors[state=start]
> \setuphead[chapter][color=blue]
> \starttext
> \chapter{One}
> \stoptext
>
> But if I drive the numbers into the left margin, they escape the blue
> paintbrush (but the text is still blue):
>
> \def\sectionnumber#1{\inleft{#1}}
> \setupcolors[state=start]
> \setuphead[chapter][numbercolor=blue,color=blue,
> deepnumbercommand=\sectionnumber]
> \starttext
> \chapter{One}
> \stoptext
What about this?
\setuphead[chapter][numbercolor=blue,color=blue,alternative=inmargin]
Regards,
BG
next prev parent reply other threads:[~2006-04-20 19:54 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
2006-04-20 20:37 ` Sanjoy Mahajan
2006-04-20 19:54 ` nico [this message]
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=ops8bn8mxr9niby6@localhost \
--to=nicolas.marsgui@libertysurf.fr \
--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).