On Sat, 21 Jul 2007 01:19:24 +0200
"Wolfgang Werners-Lucchini"
Hallo,
I have two problems/questions with the following tables:
1. Should'nt all the columns be .2\textwidth, as in the last table? 2. Why expands column width to \textwidth in the second table? Has to do with \type{} and/or color! 3. Why behaves table 1 (with \type{}) as table 3 (whitout \type{})? Wolfgang
Hi Wolfgang, sorry, no to your questions but the following setup works: \setupTABLE[row][odd][background=color,backgroundcolor=lightgray] \setupTABLE[width=.2\textwidth] why do you repeat the setup command for every table, the first one is global and should work for every table in your document, unless you make a setup local within a group or a float. Wolfgang
\setupcolors[state=start] \starttext \input tufte
\setupTABLE[row][odd][background=color,backgroundcolor=lightgray, width=.2\textwidth] \bTABLE \bTR \bTD \type{short} \eTD \bTD reads the whole file \eTD \eTR \bTR \bTD kurz \eTD \bTD reads a string with up to num characters \eTD \eTR \eTABLE
\input tufte
\setupTABLE[row][odd][background=color,backgroundcolor=lightgray, width=.2\textwidth] \bTABLE \bTR \bTD short \eTD \bTD reads the whole file \eTD \eTR \bTR \bTD \type{kurz} \eTD \bTD reads a string with up to num characters \eTD \eTR \eTABLE
\input tufte
\setupTABLE[row][odd][background=color,backgroundcolor=lightgray, width=.2\textwidth] \bTABLE \bTR \bTD short \eTD \bTD reads the whole file \eTD \eTR \bTR \bTD kurz \eTD \bTD reads a string with up to num characters \eTD \eTR \eTABLE
\input tufte
\setupTABLE[row][odd][background=color,backgroundcolor=lightgray, width=.2\textwidth] \bTABLE \bTR \bTD kurz \eTD \bTD reads a string with up to num characters \eTD \eTR \eTABLE
\input tufte \stoptext
___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________