ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Stefan Wachter <stefan.wachter@gmx.de>
Subject: Re: proportional column widths in natural tables?
Date: Sun, 15 Feb 2004 19:55:44 +0100	[thread overview]
Message-ID: <402FC0B0.4060900@gmx.de> (raw)
In-Reply-To: <402D3596.6080902@boede.nl>

Hi Willi,

thanks for your reply. Can you please tell me, what the makeupwidth is?

It seems that I have to do some calculations for the widths by myself: I 
have a CALS table model where the widths are specified by proportional 
weights. -> I have to sum the weigths of all columns and divide each of 
the weights by this sum in order to get the necessary stretch factors 
for each column.

I hoped the ConTeXt has already a mechanism for this kind of specifiying 
the widths.

--Stefan



Willi Egger wrote:
> Hi Stefan
> 
> sorry for sending an answer to your previous mail as reply to this one....
> 
> You can determin columnwidths by saying "width=.3\textwidth" or 
> "width=.3\makeupwidth" or even though less ConTeXty "width=.3\hsize"
> 
> Wheter to use \textwidth or \makeupwidth depends on the context where 
> your table is placed.
> 
> Kind regards
> Willi
> 
> Stefan Wachter wrote:
> 
>> Hi all!
>>
>> Is there a possibility to specify proportional column widths when 
>> using natural tables?
>>
>> E.g. If i want to set column 1 and 2 to have 2/7 and column 3 3/7 of 
>> the available broadth.
>>
>> \setupTABLE[column][1][width=2*]
>> \setupTABLE[column][2][width=2*]
>> \setupTABLE[column][3][width=3*]
>>
>> Thanks for your attention,
>> --Stefan
>>
>>
>> _______________________________________________
>> ntg-context mailing list
>> ntg-context@ntg.nl
>> http://www.ntg.nl/mailman/listinfo/ntg-context

  reply	other threads:[~2004-02-15 18:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-13 15:51 Stefan Wachter
2004-02-13 19:15 ` Willi Egger
2004-02-13 20:37 ` Willi Egger
2004-02-15 18:55   ` Stefan Wachter [this message]
2004-02-15 19:17     ` Willi Egger
2004-02-15 22:40     ` Hans Hagen
2004-02-16 12:11       ` Stefan Wachter

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=402FC0B0.4060900@gmx.de \
    --to=stefan.wachter@gmx.de \
    --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).