[NTG-context] Change the color of the number of subsection

Henri Menke henrimenke at gmail.com
Wed Jul 27 12:23:40 CEST 2016


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



More information about the ntg-context mailing list