Can some kind soul show me how to specify the amount of horizontal space between list symbols (bullets, numbers, etc.) and item text in ConTeXt?
Specifically, I'm trying to create a bulleted list in ConTeXt with the bullets in the margins, which I've done, as reproduced in the example below. But I'd like to change the horizontal space between the bullets and the item text (specifically, I'd like to make it smaller). I've pored over the setupitemgroup documentation page, and have tried setting margin
, leftmargin
, distance
, and textdistance
, but none of these seem to do what I'm looking for. I'd be grateful for any help you can provide.
\defineitemgroup[MyItems]
\setupitemgroup[MyItems][each][packed,inmargin][before={\bgroup},after={\egroup}]
\setupindenting[no]
\starttext
\|← left margin
\startMyItems
\item I like how my bullet is in the margin
\item but I wish it were just a little closer
\stopMyItems
\stoptext
itemgroup
aligned with the border of the textblock you can set a negative value for themargin
key, which has to be the same value aswidth
because it is used for the indentation. The distance between the bullet and the text can be controlled with thedistance
key. The complete setup for this is\setupitemgroup[MyItems][each][packed][width=5mm,margin=-5mm,distance=3mm,itemalign=flushright]
.