ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Space between item symbol and item text
@ 2011-07-07 11:08 Christian
  2011-07-07 11:40 ` Wolfgang Schuster
  2011-07-07 14:24 ` Aditya Mahajan
  0 siblings, 2 replies; 9+ messages in thread
From: Christian @ 2011-07-07 11:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear all,

how do I decrease the horizontal whitespace between the symbol and the text
in an item[ize] list?
The manual suggests this:

\startitemize[1*serried]
	\item Test
\stopitemize

It's not working, I get the same distance as with no option at all
.       Test
But I wanted
.  Test

In fact, the option <<n>>*serried does not have any effect, whereas
<<n>>*broad is working properly.
Any suggestions?
Thanks!

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

* Re: Space between item symbol and item text
  2011-07-07 11:08 Space between item symbol and item text Christian
@ 2011-07-07 11:40 ` Wolfgang Schuster
  2011-07-07 11:56   ` Christian
  2011-07-07 14:24 ` Aditya Mahajan
  1 sibling, 1 reply; 9+ messages in thread
From: Wolfgang Schuster @ 2011-07-07 11:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 07.07.2011 um 13:08 schrieb Christian:

> Dear all,
> 
> how do I decrease the horizontal whitespace between the symbol and the text
> in an item[ize] list?
> The manual suggests this:
> 
> \startitemize[1*serried]
> 	\item Test
> \stopitemize
> 
> It's not working, I get the same distance as with no option at all
> .       Test
> But I wanted
> .  Test
> 
> In fact, the option <<n>>*serried does not have any effect, whereas
> <<n>>*broad is working properly.
> Any suggestions?

You can use absolute values: \startitemize[width=1em,distance=0pt]

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] 9+ messages in thread

* Re: Space between item symbol and item text
  2011-07-07 11:40 ` Wolfgang Schuster
@ 2011-07-07 11:56   ` Christian
  2011-07-07 12:29     ` Wolfgang Schuster
  0 siblings, 1 reply; 9+ messages in thread
From: Christian @ 2011-07-07 11:56 UTC (permalink / raw)
  To: 'mailing list for ConTeXt users'

> > Dear all,
> >
> > how do I decrease the horizontal whitespace between the symbol and the
> > text in an item[ize] list?
> > The manual suggests this:
> >
> > \startitemize[1*serried]
> > 	\item Test
> > \stopitemize
> >
> > It's not working, I get the same distance as with no option at all
> > .       Test
> > But I wanted
> > .  Test
> >
> > In fact, the option <<n>>*serried does not have any effect, whereas
> > <<n>>*broad is working properly.
> > Any suggestions?
> 
> You can use absolute values: \startitemize[width=1em,distance=0pt]

Great! I will add that to the wiki.
From testing I assume "width" controls the width of the symbol (i.e. symbol
space, if the symbol is not very wide) and "distance" an additional distance
from the symbol's right edge. So one will get the same results from these 2:
Width=0pt,distance=1em
Width=1em,distance=0pt

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

* Re: Space between item symbol and item text
  2011-07-07 11:56   ` Christian
@ 2011-07-07 12:29     ` Wolfgang Schuster
  2011-07-07 12:42       ` Christian
  0 siblings, 1 reply; 9+ messages in thread
From: Wolfgang Schuster @ 2011-07-07 12:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 07.07.2011 um 13:56 schrieb Christian:

> Great! I will add that to the wiki.
> From testing I assume "width" controls the width of the symbol (i.e. symbol
> space, if the symbol is not very wide) and "distance" an additional distance
> from the symbol's right edge.

Yes.

> So one will get the same results from these 2:
> Width=0pt,distance=1em
> Width=1em,distance=0pt

Not always:

\starttext

\startitemize[n][width=2em,distance=0pt,itemalign=flushright]
\dorecurse{10}{\item text}
\stopitemize

\startitemize[n][width=0pt,distance=2em,itemalign=flushright]
\dorecurse{10}{\item text}
\stopitemize

\stoptext

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] 9+ messages in thread

* Re: Space between item symbol and item text
  2011-07-07 12:29     ` Wolfgang Schuster
@ 2011-07-07 12:42       ` Christian
  0 siblings, 0 replies; 9+ messages in thread
From: Christian @ 2011-07-07 12:42 UTC (permalink / raw)
  To: 'mailing list for ConTeXt users'

> Not always:
> 
> \starttext
> 
> \startitemize[n][width=2em,distance=0pt,itemalign=flushright]
> \dorecurse{10}{\item text}
> \stopitemize
> 
> \startitemize[n][width=0pt,distance=2em,itemalign=flushright]
> \dorecurse{10}{\item text}
> \stopitemize
> 
> \stoptext

Understood.
But the important thing is to know the possibility with the absolute values.
Users will play with the values anyway.
Check it out:
http://wiki.contextgarden.net/Enumerations#Horizontal_spacing


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

* Re: Space between item symbol and item text
  2011-07-07 11:08 Space between item symbol and item text Christian
  2011-07-07 11:40 ` Wolfgang Schuster
@ 2011-07-07 14:24 ` Aditya Mahajan
  2011-07-08  0:12   ` Kip Warner
  1 sibling, 1 reply; 9+ messages in thread
From: Aditya Mahajan @ 2011-07-07 14:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Thu, 7 Jul 2011, Christian wrote:

> Dear all,
>
> how do I decrease the horizontal whitespace between the symbol and the text
> in an item[ize] list?
> The manual suggests this:
>
> \startitemize[1*serried]
> 	\item Test
> \stopitemize
>
> It's not working, I get the same distance as with no option at all
> .       Test
> But I wanted
> .  Test
>
> In fact, the option <<n>>*serried does not have any effect, whereas
> <<n>>*broad is working properly.
> Any suggestions?

(untested)

\startitemize[fit,broad][distance=0.25em]

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


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

* Re: Space between item symbol and item text
  2011-07-07 14:24 ` Aditya Mahajan
@ 2011-07-08  0:12   ` Kip Warner
  2011-07-08  4:14     ` Wolfgang Schuster
  0 siblings, 1 reply; 9+ messages in thread
From: Kip Warner @ 2011-07-08  0:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

On Thu, 2011-07-07 at 10:24 -0400, Aditya Mahajan wrote:
> (untested)
> 
> \startitemize[fit,broad][distance=0.25em]
> 
> Aditya

Aditya, that works, but how do you set it for all items? I tried the
following, but it didn't work:

\setupitemize[fit,broad][distance=0.25em]

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 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] 9+ messages in thread

* Re: Space between item symbol and item text
  2011-07-08  0:12   ` Kip Warner
@ 2011-07-08  4:14     ` Wolfgang Schuster
  2011-07-08  6:49       ` Kip Warner
  0 siblings, 1 reply; 9+ messages in thread
From: Wolfgang Schuster @ 2011-07-08  4:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 08.07.2011 um 02:12 schrieb Kip Warner:

> On Thu, 2011-07-07 at 10:24 -0400, Aditya Mahajan wrote:
>> (untested)
>> 
>> \startitemize[fit,broad][distance=0.25em]
>> 
>> Aditya
> 
> Aditya, that works, but how do you set it for all items? I tried the
> following, but it didn't work:
> 
> \setupitemize[fit,broad][distance=0.25em]

\setupitemize[each][fit,broad][distance=0.25em]

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] 9+ messages in thread

* Re: Space between item symbol and item text
  2011-07-08  4:14     ` Wolfgang Schuster
@ 2011-07-08  6:49       ` Kip Warner
  0 siblings, 0 replies; 9+ messages in thread
From: Kip Warner @ 2011-07-08  6:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

On Fri, 2011-07-08 at 06:14 +0200, Wolfgang Schuster wrote:
> \setupitemize[each][fit,broad][distance=0.25em]
> 
> Wolfgang

Thanks Wolfgang.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 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] 9+ messages in thread

end of thread, other threads:[~2011-07-08  6:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-07 11:08 Space between item symbol and item text Christian
2011-07-07 11:40 ` Wolfgang Schuster
2011-07-07 11:56   ` Christian
2011-07-07 12:29     ` Wolfgang Schuster
2011-07-07 12:42       ` Christian
2011-07-07 14:24 ` Aditya Mahajan
2011-07-08  0:12   ` Kip Warner
2011-07-08  4:14     ` Wolfgang Schuster
2011-07-08  6:49       ` Kip Warner

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