Am 06.03.2011 um 17:33 schrieb Philipp Gesang: > Hi, > > is there a way to have \spaceskip working in a centered section > head? > > I have something similar to these exaggerated values: > > ··8<····························································· > > \def\broadspacing{% > \dontleavehmode% > \spaceskip 1em plus .5em minus .5em% > } > \starttext > > \setuphead[section][% > style={\WORD\broadspacing}, > ] > > % This one is left aligned but correctly spaced. > \section{test test test} > > \setuphead[section][% > style={\WORD\broadspacing}, > align=middle, > ] > > % This one is centered but spaced too tightly. > \section{test test test} > > \stoptext > > ··8<····························································· > > As you can see, adding “align=middle” to the section setup leads > to the \spaceskip setting being ignored. Any idea how to space my > capitalized words in section heads?
\setuphead [section] [ style=WORD, align=middle, textcommand={\setuptolerance[space]}] Maybe better is “textcommand=\SectionCommand” with \define[1]\SectionCommand {\setuptolerance[space]#1} 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 ___________________________________________________________________________________