ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Joshua Krämer" <joshua.kraemer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: ntg-context-wvrSQK3plZs@public.gmane.org
Subject: Stretching only specified columns with Natural Tables
Date: Wed, 2 Apr 2014 00:06:12 +0200	[thread overview]
Message-ID: <20140402000612.7c1efde9@Klapprechner1.site> (raw)

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
___________________________________________________________________________________


                 reply	other threads:[~2014-04-01 22:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140402000612.7c1efde9@Klapprechner1.site \
    --to=joshua.kraemer-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=ntg-context-wvrSQK3plZs@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).