ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* structure head alignment nullifies spaceskip
@ 2011-03-06 16:33 Philipp Gesang
  2011-03-06 20:15 ` Wolfgang Schuster
  0 siblings, 1 reply; 7+ messages in thread
From: Philipp Gesang @ 2011-03-06 16:33 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 1005 bytes --]

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

[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-03-06 22:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-06 16:33 structure head alignment nullifies spaceskip Philipp Gesang
2011-03-06 20:15 ` Wolfgang Schuster
2011-03-06 21:41   ` Philipp Gesang
2011-03-06 22:03     ` Wolfgang Schuster
2011-03-06 22:25       ` Philipp Gesang
2011-03-06 22:34         ` Wolfgang Schuster
2011-03-06 22:57           ` Philipp Gesang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).