ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Can itemize calculate optimal label widths?
@ 2004-02-20  9:18 Stefan Wachter
  2004-02-22 23:18 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Wachter @ 2004-02-20  9:18 UTC (permalink / raw)


Hi all!

Is there a possiblity to have itemize calculate the optimal label width 
itself? I have an itemize that has rather different labels, e.g.:

\startitemize
\sym{1.} An item
\sym{2.} Another item
\sym{103 a.} An item with a very broad label
\stopitemize

In this example the label "103 a." flows into the item text. It would be 
great if itemize would automatically use a label width that fits the 
broadest label.

Thanks for your attention,
--Stefan

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

* Re: Can itemize calculate optimal label widths?
  2004-02-20  9:18 Can itemize calculate optimal label widths? Stefan Wachter
@ 2004-02-22 23:18 ` Hans Hagen
  2004-02-26 15:22   ` Stefan Wachter
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2004-02-22 23:18 UTC (permalink / raw)


At 10:18 20/02/2004, you wrote:
>Hi all!
>
>Is there a possiblity to have itemize calculate the optimal label width 
>itself? I have an itemize that has rather different labels, e.g.:
>
>\startitemize
>\sym{1.} An item
>\sym{2.} Another item
>\sym{103 a.} An item with a very broad label
>\stopitemize
>
>In this example the label "103 a." flows into the item text. It would be 
>great if itemize would automatically use a label width that fits the 
>broadest label.

for the moment use:

   \startitemize[2*broad]

and remind me in a few couple of weeks (months); it's on my mental to-do 
list (not that hard to implement probably)

Hans  

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

* Re: Can itemize calculate optimal label widths?
  2004-02-22 23:18 ` Hans Hagen
@ 2004-02-26 15:22   ` Stefan Wachter
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Wachter @ 2004-02-26 15:22 UTC (permalink / raw)


Hans Hagen wrote:
> At 10:18 20/02/2004, you wrote:
> 
>> Hi all!
>>
>> Is there a possiblity to have itemize calculate the optimal label 
>> width itself? I have an itemize that has rather different labels, e.g.:
>>
>> \startitemize
>> \sym{1.} An item
>> \sym{2.} Another item
>> \sym{103 a.} An item with a very broad label
>> \stopitemize
>>
>> In this example the label "103 a." flows into the item text. It would 
>> be great if itemize would automatically use a label width that fits 
>> the broadest label.
> 
> 
> for the moment use:
> 
>   \startitemize[2*broad]
> 
> and remind me in a few couple of weeks (months); it's on my mental to-do 
> list (not that hard to implement probably)
> 
> Hans 

Ok - thanks for the reply.

Is there a (TeX-)dimension for the label width available? In other 
words: by which amount is the current text area narrowed after an item 
has started?

--Stefan

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

end of thread, other threads:[~2004-02-26 15:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-20  9:18 Can itemize calculate optimal label widths? Stefan Wachter
2004-02-22 23:18 ` Hans Hagen
2004-02-26 15:22   ` Stefan Wachter

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