Am 06.03.2009 um 17:33 schrieb Aditya Mahajan:
Table setup:
To achieve horizontal and vertical centered content in the table cell
you need 'align={middle,lohi}'.
Hmm... align={middle,middle} also works. I haven't checked the code
to see why.
I hadn't known this before but it's feature of framed, good to know.
Expandafter solution:
Ah. I was experimenting without the \the\numexpr (replacing both by
\relax) so that I could see the output. I did not realize that
\numexpr expands its arguments anyways.
The first recurselevel was expanded with your \edef and the second
with the \expandafter before \bTD.
\for loop:
This does not work, for the same reason that the \dorecurse solution
does not work. You need to exapnad \x and \y in the first row and
first column.
I should next time check the output. Sure, the same rules as \dorecurse
apply to the \for loop.
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________