[NTG-context] structure head alignment nullifies spaceskip

Philipp Gesang pgesang at ix.urz.uni-heidelberg.de
Sun Mar 6 17:33:12 CET 2011


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?

Thanks very much, Philipp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20110306/94a2bf57/attachment.pgp>


More information about the ntg-context mailing list