ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Willi Egger <w.egger@boede.nl>
Subject: Re: Re: proportional column widths in natural tables?
Date: Sun, 15 Feb 2004 20:17:22 +0100	[thread overview]
Message-ID: <402FC5C2.10503@boede.nl> (raw)
In-Reply-To: <402FC0B0.4060900@gmx.de>

Hi Stefan,

 From the english manual...p24-25

Basically textwidth is the width available at the moment i.e. when in 
any other sitation than one column. Makeupwidth is the total width of 
the typesetting area.

Concerning you CALS table model, I assume indeed that you will have to 
calculate the individual widths...

Kind reagards
Willi

Stefan Wachter wrote:

> 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
> 
> 
> 
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

  reply	other threads:[~2004-02-15 19:17 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
2004-02-15 19:17     ` Willi Egger [this message]
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=402FC5C2.10503@boede.nl \
    --to=w.egger@boede.nl \
    --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).