Space between item symbol and item text
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!
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
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
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
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
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
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
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
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
participants (4)
-
Aditya Mahajan
-
Christian
-
Kip Warner
-
Wolfgang Schuster