Am 13.02.2011 um 18:29 schrieb Peter Münster: > maggy...@gmail.com writes: > >> How to control the space between the number and the title in heads? By >> default >> it seems there is a space of about 1 em. I want to change that space and set >> a >> normal space instead (a word space), since I've put a dot stopper after the >> numbers (\setupheads[stopper=.]). Example: >> >> 1. Title (what I get) >> 1. Title (what I want) > > % if you know how to get the width of 1 space: > \setuphead[section][stopper=., distance=WidthOf1Space]
distance=\spaceamount > % if you don't know, workaround: > \setuphead[section][stopper=.~\strut, distance=0pt] > > \starttext > \startsection[title=test] > bla > \stopsection > \stoptext > > Related question: is there a macro, that returns the width of some > content, so that one can use "distance=\widthof{ }"? http://www.ntg.nl/pipermail/ntg-context/2007/024390.html 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 ___________________________________________________________________________________