ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Patrick Gundlach <patrick@gundla.ch>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Still struggling with TABLE width
Date: Thu, 30 Sep 2010 18:34:16 +0200	[thread overview]
Message-ID: <D43EE3B8-F374-4A6F-86AA-16B33C1AD0E9@gundla.ch> (raw)

[-- Attachment #1: Type: text/plain, Size: 602 bytes --]

Hi,

as the subject says: I am still confused about widths of TABLE tables.

\bTABLE % [option=stretch]
\bTR
\bTD
A
\eTD
\bTD
A
\eTD
\eTR
\bTR
\bTD[nc=2]
%\hbox{A very very long text in one line, perhaps more}
A very very long text in one line, perhaps more
\eTD
\eTR
\eTABLE

what I'd like to get is a table that is as wide as the text in the second row (A very very long text in one line, perhaps more) or at most the line width and the other two cells (the first line) stretched to mach that width (see image). I am pretty sure that this is possible, but how?!?


Patrick


[-- Attachment #2: linestretch.png --]
[-- Type: image/png, Size: 13648 bytes --]

[-- Attachment #3: 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
___________________________________________________________________________________

             reply	other threads:[~2010-09-30 16:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-30 16:34 Patrick Gundlach [this message]
2010-09-30 16:42 ` Peter Münster
2010-09-30 20:29   ` Hans Hagen

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=D43EE3B8-F374-4A6F-86AA-16B33C1AD0E9@gundla.ch \
    --to=patrick@gundla.ch \
    --cc=ntg-context@ntg.nl \
    /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).