En/na Aditya Mahajan ha escrit:
On Thu, 5 Mar 2009, Xan wrote:

En/na Xan ha escrit:
Hi,

Is it possible to put "numerstyle=boldstyle" in this enumeration?:
\defineenumeration
 [exercici]
[text={\startcolor[middlecyan]Exercici\stopcolor},headstyle=bold,between=\blank,titledistance=0em,textdistance=1em, stopper={.\space},location=serried,titleleft=(,titleright=),width=fit,headstyle=\ss]
For the other hand, is it possible to make it's a framed?

Thanks a lot,
Xan.

Aditya,

numberstyle=bold

does not work for me.

Sorry. I should have checked. Enumerations do not have a numberstyle key. It should.

You can abuse the left and right keys to get a bold number, eg.

\defineenumeration
 [exercici]
 [textcolor=middlecyan, text=Exercici,
  headstyle=sans,
  left={\bgroup\bf},right={\egroup}]



Hans, do you plan to rework on core-des anytime soon? It could definitely use some cleanup.

Aditya
___________________________________________________________________________________ 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________
Thanks.

The textcolor does not work. I have to put in in text field.
The example that works is:

\defineenumeration
 [exercici]
[text={\startcolor[middlecyan]Exercici\stopcolor},headstyle=bold,between=\blank,titledistance=0em,textdistance=1em,
stopper={.\space},location=serried,left={\bgroup\bf},right={\egroup},width=fit,headstyle=\ss]


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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to