Re: [NTG-context] Numbering in a Table

2014-11-08 Thread Fabrice

I did not know this macro, ConTeXt is really amazing !
Thank you very much Wolfgang,
Fabrice
___
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] Numbering in a Table

2014-11-08 Thread Wolfgang Schuster

> Am 08.11.2014 um 11:59 schrieb Fabrice :
> 
> Hi Wolfgang,
> I want to number the second line of the first column a. then the third line 
> of the first column b. …

\definelabel[TableRow][text=,headcolor=red,numberconversion=characters,numberstopper=.]

\starttext

\bTABLE[width=3cm]
  \bTR
\bTD \TableRow\ text \eTD
\bTD \eTD
\bTD \eTD
  \eTR
  \bTR
\bTD \TableRow\ text \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
___

Re: [NTG-context] Numbering in a Table

2014-11-08 Thread Fabrice

Hi Wolfgang,
I want to number the second line of the first column*a.* then the third 
line of the first column *b**.* ...


Best regards,

Fabrice


\setupitemize[1][stopper={.},style=\bf,color=red]
\starttext
\startsetups[table:initialize]
  \setupTABLE[height=0.8cm,align={middle,lohi}]
  \setupTABLE[row][1][background=color,backgroundcolor=cyan]
  \setupTABLE[1][1][background=color,backgroundcolor=white]
  \setupTABLE[column][1][width=10cm,align={right,lohi}]
  \setupTABLE[column][2,3,4][width=2.5cm,align={middle,lohi}]
  \setupTABLE[1][1][frame=off]
\stopsetups
\bTABLE[setups=table:initialize]
\bTR
\bTD \eTD
\bTD Vrai \eTD
\bTD Faux \eTD
\bTD Peut-être \eTD
\eTR
\bTR
\bTD \startitemize[a] \item Les droites (IJ) et (AB) sont parallèles.  
\stopitemize \eTD

\bTD \eTD
\bTD \eTD
\bTD \eTD
\eTR
\bTR
\bTD  Les droites (JK) et  (BC) sont parallèles. \eTD
\bTD \eTD
\bTD \eTD
\bTD \eTD
\eTR
\eTABLE{}
\stopmidaligned
\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
___

Re: [NTG-context] Numbering in a Table

2014-11-08 Thread Wolfgang Schuster

> Am 07.11.2014 um 19:18 schrieb Fabrice Couvreur :
> 
> Hi,
> Is it possible to use an itemize environment in a table ?

Yes.

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] Numbering in a Table

2014-11-07 Thread Fabrice Couvreur
Hi,
Is it possible to use an itemize environment in a table ?
Best regards,
Fabrice

\starttext
\startsetups[table:initialize]
  \setupTABLE[height=0.8cm,align={middle,lohi}]
  \setupTABLE[row][1][background=color,backgroundcolor=cyan]
  \setupTABLE[1][1][background=color,backgroundcolor=white]
  \setupTABLE[column][1][width=10cm,align={right,lohi}]
  \setupTABLE[column][2,3,4][width=2.5cm,align={middle,lohi}]
  \setupTABLE[1][1][frame=off]
\stopsetups
\bTABLE[setups=table:initialize]
\bTR
\bTD \eTD
\bTD Vrai \eTD
\bTD Faux \eTD
\bTD Peut-être \eTD
\eTR
\bTR
\bTD \color[red]{a.} Les droites (IJ) et (AB) sont parallèles.\eTD
\bTD \eTD
\bTD \eTD
\bTD \eTD
\eTR
\bTR
\bTD \color[red]{b.} Les droites (JK) et  (BC) sont parallèles. \eTD
\bTD \eTD
\bTD \eTD
\bTD \eTD
\eTR
\eTABLE{}
\stopmidaligned
\stopitemize
\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
___