ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Color of the "headers" of one enumeration
@ 2014-03-24 13:39 Xan
  2014-03-24 16:53 ` Wolfgang Schuster
  2014-03-25  8:27 ` Xan
  0 siblings, 2 replies; 3+ messages in thread
From: Xan @ 2014-03-24 13:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

I have this
\defineenumeration
  [punt]
  [alternative=serried,text={\startcolor[darkblue]Punt\stopcolor},stopper={.\space},left={\bgroup},right={\egroup},width=fit,headstyle=\ss,distance=0.25em,width=fit]

So I get "Punt 1. bla,..." How can I achieve that "Punt 1." were in darkblue? Now I just have "Punt".

Thanks in advance,
Xan
___________________________________________________________________________________
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] 3+ messages in thread

* Re: Color of the "headers" of one enumeration
  2014-03-24 13:39 Color of the "headers" of one enumeration Xan
@ 2014-03-24 16:53 ` Wolfgang Schuster
  2014-03-25  8:27 ` Xan
  1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Schuster @ 2014-03-24 16:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 24.03.2014 um 14:39 schrieb Xan <dxpublica@telefonica.net>:

> Hi,
> 
> I have this
> \defineenumeration
>  [punt]
>  [alternative=serried,text={\startcolor[darkblue]Punt\stopcolor},stopper={.\space},left={\bgroup},right={\egroup},width=fit,headstyle=\ss,distance=0.25em,width=fit]
> 
> So I get "Punt 1. bla,..." How can I achieve that "Punt 1." were in darkblue? Now I just have "Punt“.


Use the headcolor key:

\defineenumeration
  [punt]
  [alternative=serried,
   text={Punt},
   stopper={.},
   width=fit,
   distance=0.25em,
   headstyle=\ss,
   headcolor=darkblue]

Wolfgang
___________________________________________________________________________________
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] 3+ messages in thread

* Re: Color of the "headers" of one enumeration
  2014-03-24 13:39 Color of the "headers" of one enumeration Xan
  2014-03-24 16:53 ` Wolfgang Schuster
@ 2014-03-25  8:27 ` Xan
  1 sibling, 0 replies; 3+ messages in thread
From: Xan @ 2014-03-25  8:27 UTC (permalink / raw)
  To: Xan; +Cc: mailing list for ConTeXt users

> Am 24.03.2014 um 14:39 schrieb Xan <dxpublica at telefonica.net>:
> 
> > Hi,
> > 
> > I have this
> > \defineenumeration
> >  [punt]
> >  [alternative=serried,text={\startcolor[darkblue]Punt\stopcolor},stopper={.\space},left={\bgroup},right={\egroup},width=fit,headstyle=\ss,distance=0.25em,width=fit]
> > 
> > So I get "Punt 1. bla,..." How can I achieve that "Punt 1." were in darkblue? Now I just have "Punt“.
> 
> 
> Use the headcolor key:
> 
> \defineenumeration
>   [punt]
>   [alternative=serried,
>    text={Punt},
>    stopper={.},
>    width=fit,
>    distance=0.25em,
>    headstyle=\ss,
>    headcolor=darkblue]
> 
> Wolfgang


Thank you very much,
Xan.
___________________________________________________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2014-03-25  8:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-24 13:39 Color of the "headers" of one enumeration Xan
2014-03-24 16:53 ` Wolfgang Schuster
2014-03-25  8:27 ` Xan

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