From: Xan <dxpublica@telefonica.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: boldstyle for numbers in defineenumeration
Date: Thu, 05 Mar 2009 19:39:33 +0100 [thread overview]
Message-ID: <49B01C65.9030909@telefonica.net> (raw)
In-Reply-To: <alpine.LNX.2.00.0903051317100.12354@ybpnyubfg.ybpnyqbznva>
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
___________________________________________________________________________________
next prev parent reply other threads:[~2009-03-05 18:39 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-04 20:11 Xan
2009-03-04 20:28 ` Aditya Mahajan
2009-03-05 15:04 ` Xan
2009-03-05 18:20 ` Aditya Mahajan
2009-03-05 18:39 ` Xan [this message]
2009-03-05 18:48 ` Aditya Mahajan
2009-03-05 19:13 ` Wolfgang Schuster
2009-03-05 19:19 ` Aditya Mahajan
2009-03-05 19:36 ` Wolfgang Schuster
2009-03-05 20:04 ` Aditya Mahajan
2009-03-06 8:01 ` Hans Hagen
2009-03-06 12:38 ` Xan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49B01C65.9030909@telefonica.net \
--to=dxpublica@telefonica.net \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).