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