On Sun, 23 Mar 2008, Morgan Brassel wrote:

>
>> 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)

The table way is the opposite. You can specify what applies to all the 
columns, and then rule out specific columns using \REF[..].

> 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?

This is pretty safe w.r.t tabulate. I do not think that any other context 
feature uses \NN command, so this will only clash with user commands.

Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to