Re: [NTG-context] Strange behavior in a table.

2014-08-29 Thread Fabrice
Sorry for the mistake. To the eye, I thought the distance chosen was 
sufficient, and I did not think to change it.

In any case, your help is wonderful, thank you.
___
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
___


Re: [NTG-context] Strange behavior in a table.

2014-08-29 Thread Wolfgang Schuster

Am 29.08.2014 um 19:34 schrieb Fabrice Couvreur :

> Everything is in the title, thank you.

What do you expect, the cells in the first column are too small for the text 
you’re trying to put in.


There are also two things you should change:

  (1) As you use the same setup for each table create a template for them at 
the begin of the document
  and load ot at the begin of each table with “setups=”.

  (2) Remove the braces around the text in the cells because you don’t need 
them, font etc. changes
  are local to cell where you set them and won’t affect other cells.


Below is a example with a simplified version of your table template:

\startsetups[table:initialize]
  \setupTABLE[height=0.6cm,width=0.1\textwidth]
  \setupTABLE[column][first][width=0.4\textwidth]
  \setupTABLE[start][align={middle,lohi}]
\stopsetups

\showframe[text][text]

\starttext

\bTABLE[setups=table:initialize]
\bTR
\bTH Hauteur en dm \eTH
\bTD 0 \eTD
\bTD 0,5 \eTD
\bTD 1 \eTD
\bTD 1,5 \eTD
\bTD 2 \eTD
\bTD 2,5 \eTD
\eTR
\bTR
\bTH Volume d'eau en L \eTH
\bTD \eTD
\bTD \eTD
\bTD \eTD
\bTD \eTD
\bTD \eTD
\bTD \eTD
\eTR
\eTABLE

\stoptext

Wolfgang
___
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
___


[NTG-context] Strange behavior in a table.

2014-08-29 Thread Fabrice Couvreur
Everything is in the title, thank you.

\starttext
\`A l'aide du graphique, compléter les tableaux de correspondance suivants.
\blank[small]
{\setupTABLE[row][even][height=0.6cm]
\setupTABLE[row][odd][height=0.6cm]
\setupTABLE[1][1,2][width=3.2cm]
\setupTABLE[column][2,3,4,5,6,7][width=0.14\textwidth]
\bTABLE[align={middle,lohi}]
\bTR
\bTH {Hauteur en dm} \eTH
\bTD {0} \eTD
\bTD {0,5} \eTD
\bTD {1} \eTD
\bTD {1,5} \eTD
\bTD {2} \eTD
\bTD {2,5} \eTD
\eTR
\bTR
\bTH {Volume d'eau en L} \eTH
\bTD {} \eTD
\bTD {}  \eTD
\bTD {}  \eTD
\bTD {}  \eTD
\bTD {}  \eTD
\bTD {} \eTD
\eTR
\eTABLE
\blank[small]
\bTABLE[align={middle,lohi}]
\bTR
\bTH {Volume d'eau en L} \eTH
\bTD {1} \eTD
\bTD {2} \eTD
\bTD {3} \eTD
\bTD {4} \eTD
\bTD {5} \eTD
\bTD {10} \eTD
\eTR
\bTR
\bTH {Hauteur en dm} \eTH
\bTD {} \eTD
\bTD {}  \eTD
\bTD {}  \eTD
\bTD {}  \eTD
\bTD {}  \eTD
\bTD {} \eTD
\eTR
\eTABLE}

Les graduations obtenues n'étant pas assez fines, Pascal demande à son
gendre de préciser ses calculs. La suite de l'histoire ...plus tard.
\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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___