Steffen Wolfrum wrote:
Hi,
a quite basic question, nevertheless I couldn'T find an answer:
How do I determine the total with of a TABLE?
I though it should be ...
\setupTABLE[width=\textwidth]
\bTABLE \bTR \bTD aa \eTD \bTD bb \eTD \bTD cc \eTD \bTD dd \eTD \eTR \bTR \bTD aa \eTD \bTD bb \eTD \bTD cc \eTD \bTD dd \eTD \eTR \bTR \bTD aa \eTD \bTD bb \eTD \bTD cc \eTD \bTD dd \eTD \eTR \bTR \bTD aa \eTD \bTD bb \eTD \bTD cc \eTD \bTD dd \eTD \eTR \bTR \bTD aa \eTD \bTD bb \eTD \bTD cc \eTD \bTD dd \eTD \eTR \bTR \bTD aa \eTD \bTD bb \eTD \bTD cc \eTD \bTD dd \eTD \eTR \bTR \bTD aa \eTD \bTD bb \eTD \bTD cc \eTD \bTD dd \eTD \eTR \bTR \bTD aa \eTD \bTD bb \eTD \bTD cc \eTD \bTD dd \eTD \eTR \eTABLE
... but this means that all column's INDIVIDUAL width=\textwidth !
But what about the TOTAL width - regardless of the individual column's width?
With \setbox: \setbox100=\vbox{% \setupTABLE[...] \bTABLE...\eTABLE% } ht=\the\ht100 , dp=\the\dp100 , wd= \the\wd100 and you can determine the dimensions of your table. But I think you need to setup x dimension, so \setupTABLE[x][width=x\textwidth] where x = 1/number_of_columns (x=0.25 in your example, because you have 4 columns: so you have \setupTABLE[x][width=0.25\textwidth] ) luigi