On Wed, 2 Jan 2008 16:22:26 +0100
Yvon Henel
Hello again,
I would like to nest a table inside a table, something like this:
\starttable[|c|c|] \NC {\bf ATout Choeur} \NC {\starttable[|c|] \NC Number 2008--1\FR \NC january 2008\LR \stoptable}\MR \NC {\tfa Something} \NC \LR \stoptable
but 1/ I would like the top of the first cell of the first row to be aligned with the top of the second one (which contains the nested table); 2/ it seems that it does not work when the layout is set up with "grid=yes"
If the answer to the second question is "Effectively, it can't work in such a layout", what could be a way of obtaining what I want?
As always, any hint would be greatly appreciated
Do you really need nested tables? Try one of the following solution. \starttext \starttable[|c|cp(3cm)|] \NC \bf ATout Choeur \NC Number 2008--1\crlf january 2008 \NC\AR \NC \tfa Something \NC \NC\AR \stoptable \starttabulate[|c|cp(3cm)|] \NC \bf ATout Choeur \NC Number 2008--1\crlf january 2008 \NC\NR \NC \tfa Something \NC \NC\NR \stoptabulate \setupTABLE[column][align=middle,frame=off] \setupTABLE[column][first][style=bold] \bTABLE \bTR \bTD ATout Choeur \eTD \bTD Number 2008--1\crlf january 2008 \eTD \eTR \bTR \bTD Something \eTD \bTD \eTD \eTR \eTABLE \stoptext Wolfgang