Change the color of the number of subsection
Hello, With this \startsubsection [title={\darkred Recherche d'une fonction sous contraintes}, sectionsegments=subsection:subsection, numbercommand={\darkred}] it does not work. Thanks Fabrice
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 ___________________________________________________________________________________
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
___________________________________________________________________________________
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