> Does this do what you want?
>
> %\TracingFormats=1
> \starttable[|b{\digits}r|]
> \NC 1.@@ \NC \AR
> \NC 1.1@ \NC \AR
> \NC 1.11 \NC \AR
> \NC 11.11 \NC \AR
> \stoptable
>
> Aditya
Hi Aditya,
Thank you for this solution. I saw it on the wiki before I sent my first
e-mail: it is actually less powerful than a \NN command, as it applies to
the whole column, whereas \NN can apply to a single cell. (See the example
below)
My current solution is to define a new command
\define\NN{\NC\digits}
It (apparently) does not clash with the \NN command in tabulate, but it
seems like a dangerous hack. What is your opinion?
Thanks for your time!
Morgan
\setdigitmode 2
\define\NN{\NC\digits}
\starttext
\starttabulate[|r|]
\NN 1.@@ \AR
\NN 1.11 \AR
\NC hello \AR
\stoptabulate
\starttable[|r|]
\NN 1.@@ \AR
\NN 1.11 \AR
\NC hello \AR
\stoptable
\starttable[|b{\digits}r|]
\NC 1.@@ \AR
\NC 1.11 \AR
\NC hello \AR
\stoptable
\stoptext
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / 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
___________________________________________________________________________________