Hi Hans, thanks for the tip regarding the stretch option. I tried the option and had the impression that the table is streched if the sum of the widths of the columns is less then the available width. Yet, if the sum of the widths exceeds the available width then the table is NOT shrunk! I tried other values for the option key (e.g. 'fit' or '{stretch, shrink}') but the table remained too broad. Is there a possibility to make the table width fit the available width in any case? My temporary solution now converts the CALS proportional width weights into absolute widths with small units (e.g. 'pt'), hoping that the sum of these widths does not exceed the available width. \setupTABLE[option=stretch] \setupTABLE[column][1][width=10pt] \setupTABLE[column][2][width=20pt] \setupTABLE[column][3][width=30pt] Best regards, --Stefan Hans Hagen wrote:
At 19:55 15/02/2004, you 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.
\setupTABLE[option=stretch]
------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE/POD/CTS Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------