On Sun, 2 Sep 2012, Aditya Mahajan wrote:
Hi,
Is it possible to stretch the widths of each column in natural TABLEs, so
that the widths are in a certain propotion? For example, suppose I have a
table with three columns and I want to set the width of the first column to a
fixed amount, and split the remaining space between columns two and three in
a 1:2 ratio.
Extreme tables implement something similar using option={stretch, width}, but
AFAIU, it is not possible to fix the width of a particular column.
I notice that
\setupTABLE[c][1][width=fit]
\setupTABLE[c][2][width=broad]
\setupTABLE[c][3][width=broad]
splits the remaining space equally between columns 2 and 3.
So, after starting at the code of pack-rul for a while, I realized that
\setupTABLE[c][1][width=fit]
\setupTABLE[c][2][width=0.33\hsize]
\setupTABLE[c][3][width=0.66\hsize]
should work and it does!
Now if someone could explain WHY it works, I'll be enlightened.
Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________