Change the color of the number of subsection
![](https://secure.gravatar.com/avatar/d7c3317235884569312c31f786d43bbc.jpg?s=120&d=mm&r=g)
Hello, With this \startsubsection [title={\darkred Recherche d'une fonction sous contraintes}, sectionsegments=subsection:subsection, numbercommand={\darkred}] it does not work. Thanks Fabrice
![](https://secure.gravatar.com/avatar/60f3cc97f94fa3690ba406f8c1a7fc4f.jpg?s=120&d=mm&r=g)
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 ___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/d7c3317235884569312c31f786d43bbc.jpg?s=120&d=mm&r=g)
Hi Henri,
Thank you, it works. What's weird is that I used \setuphead [subsection][...
] once unsuccessfully probably a mistake on my part.
Fabrice
2016-07-27 12:23 GMT+02:00 Henri Menke
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
___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/b79687264c3e06cba13b54d05b12a9f5.jpg?s=120&d=mm&r=g)
Fabrice Couvreur mailto:fabrice1.couvreur@gmail.com 27. Juli 2016 um 12:32 Hi Henri, Thank you, it works. What's weird is that I used \setuphead [subsection][...] once unsuccessfully probably a mistake on my part. When you’re unsure which keys and values are available for a command take a look into the command reference which is included in each context release as i-context.pdf and also available on Hans server with variants for each interface: http://pragma-ade.nl/show-man-5.htm
Wolfgang
participants (3)
-
Fabrice Couvreur
-
Henri Menke
-
Wolfgang Schuster