ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Stretching only specified columns with Natural Tables
@ 2014-04-01 22:06 Joshua Krämer
  0 siblings, 0 replies; only message in thread
From: Joshua Krämer @ 2014-04-01 22:06 UTC (permalink / raw)
  To: ntg-context-wvrSQK3plZs

Hello list,

I'm using the Natural Table macros to typeset some tables in the
following way:

\starttext
\setupTABLE [frame=off, option=stretch, textwidth=\textwidth]
\setupTABLE [row] [odd] [background=color, backgroundcolor=gray]
\bTABLE
\bTR \bTD One \eTD \bTD Two \eTD \bTD Three \eTD \eTR
\eTABLE
\stoptext

Now I would like to have the additional space (which is gained by
stretching) be distributed only /between/ the columns, or, in other
words, leave the last column unstretched.  I would need something like
this:

\setupTABLE [column] [last] [width=default]

I don't want a fixed width on the last column, it should have the
default width.

I can't use "\setupTABLE [column] [...] [width=broad]" for all columns
but the last, because instead of distributing the space equally,
it makes all "broad" columns the same width, and instead of leaving
the other columns untouched, it makes them narrower.

Thanks and kind regards,
Joshua


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context-wvrSQK3plZs@public.gmane.org / 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] only message in thread

only message in thread, other threads:[~2014-04-01 22:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-01 22:06 Stretching only specified columns with Natural Tables Joshua Krämer

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).