* Numbering in a Table
@ 2014-11-07 18:18 Fabrice Couvreur
2014-11-08 9:44 ` Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: Fabrice Couvreur @ 2014-11-07 18:18 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 865 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 1287 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Numbering in a Table
2014-11-07 18:18 Numbering in a Table Fabrice Couvreur
@ 2014-11-08 9:44 ` Wolfgang Schuster
2014-11-08 10:59 ` Fabrice
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2014-11-08 9:44 UTC (permalink / raw)
To: mailing list for ConTeXt users
> Am 07.11.2014 um 19:18 schrieb Fabrice Couvreur <fabrice1.couvreur@gmail.com>:
>
> 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Numbering in a Table
2014-11-08 9:44 ` Wolfgang Schuster
@ 2014-11-08 10:59 ` Fabrice
2014-11-08 19:24 ` Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: Fabrice @ 2014-11-08 10:59 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 1044 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 2220 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Numbering in a Table
2014-11-08 10:59 ` Fabrice
@ 2014-11-08 19:24 ` Wolfgang Schuster
2014-11-08 21:58 ` Fabrice
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2014-11-08 19:24 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 518 bytes --]
> Am 08.11.2014 um 11:59 schrieb Fabrice <couvreur.fabrice@wanadoo.fr>:
>
> 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
[-- Attachment #1.2: Type: text/html, Size: 2062 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Numbering in a Table
2014-11-08 19:24 ` Wolfgang Schuster
@ 2014-11-08 21:58 ` Fabrice
0 siblings, 0 replies; 5+ messages in thread
From: Fabrice @ 2014-11-08 21:58 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-11-08 21:58 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-07 18:18 Numbering in a Table Fabrice Couvreur
2014-11-08 9:44 ` Wolfgang Schuster
2014-11-08 10:59 ` Fabrice
2014-11-08 19:24 ` Wolfgang Schuster
2014-11-08 21:58 ` Fabrice
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).