ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henri Menke <henrimenke@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: Change the color of the number of subsection
Date: Wed, 27 Jul 2016 12:23:40 +0200	[thread overview]
Message-ID: <d2334f78-5a44-77d3-2316-be58c836b03f@gmail.com> (raw)
In-Reply-To: <CACyK-eof4MR0rWLKXEFSbW=5xXkEmNV7pxHm5G0W3+JBQ-91Pw@mail.gmail.com>

Hi Fabrice,

use \setuphead (see below).

Cheers, Henri

---

\starttext

\setuphead
  [subsection]
  [
    sectionsegments=subsection:subsection,
    color=darkred,
  ]

\startsubsection[title={Recherche d'une fonction sous contraintes}]
\stopsubsection

\stoptext

On 07/27/2016 11:24 AM, Fabrice Couvreur wrote:
> Hello,
> With this
> 
> \startsubsection
>    [title={\darkred Recherche d'une fonction sous contraintes},
>     sectionsegments=subsection:subsection,
>     numbercommand={\darkred}]
> 
> it does not work.
> Thanks
> Fabrice
> 
> 
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
> 

___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2016-07-27 10:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-27  9:24 Fabrice Couvreur
2016-07-27 10:23 ` Henri Menke [this message]
2016-07-27 10:32   ` Fabrice Couvreur
2016-07-27 18:53     ` Wolfgang Schuster

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=d2334f78-5a44-77d3-2316-be58c836b03f@gmail.com \
    --to=henrimenke@gmail.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).