ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Change the color of the number of subsection
@ 2016-07-27  9:24 Fabrice Couvreur
  2016-07-27 10:23 ` Henri Menke
  0 siblings, 1 reply; 4+ messages in thread
From: Fabrice Couvreur @ 2016-07-27  9:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 206 bytes --]

Hello,
With this

\startsubsection
   [title={\darkred Recherche d'une fonction sous contraintes},
    sectionsegments=subsection:subsection,
    numbercommand={\darkred}]

it does not work.
Thanks
Fabrice

[-- Attachment #1.2: Type: text/html, Size: 779 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Change the color of the number of subsection
  2016-07-27  9:24 Change the color of the number of subsection Fabrice Couvreur
@ 2016-07-27 10:23 ` Henri Menke
  2016-07-27 10:32   ` Fabrice Couvreur
  0 siblings, 1 reply; 4+ messages in thread
From: Henri Menke @ 2016-07-27 10:23 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Change the color of the number of subsection
  2016-07-27 10:23 ` Henri Menke
@ 2016-07-27 10:32   ` Fabrice Couvreur
  2016-07-27 18:53     ` Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: Fabrice Couvreur @ 2016-07-27 10:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1862 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 3758 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Change the color of the number of subsection
  2016-07-27 10:32   ` Fabrice Couvreur
@ 2016-07-27 18:53     ` Wolfgang Schuster
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Schuster @ 2016-07-27 18:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 524 bytes --]

> 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

[-- Attachment #1.2: Type: text/html, Size: 2064 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-07-27 18:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-27  9:24 Change the color of the number of subsection Fabrice Couvreur
2016-07-27 10:23 ` Henri Menke
2016-07-27 10:32   ` Fabrice Couvreur
2016-07-27 18:53     ` Wolfgang Schuster

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).