On 6/24/2014 4:35 PM, Maggyero wrote:
How can one use character alignment in math mode? (I am using the last
stable ConTeXt version — 2014.05.21.)


\starttext
\setupTABLE[column][first][alignmentcharacter={,}, aligncharacter=yes,
align=middle]

Figures in text mode get aligned:

\startTABLE
     \NC 0,0     \NC \NR
     \NC 0,00    \NC \NR
     \NC 0,000   \NC \NR
\stopTABLE

But figures in math mode do not get aligned:

\startTABLE
     \NC $0,0$   \NC \NR
     \NC $0,00$  \NC \NR
     \NC $0,000$ \NC \NR
\stopTABLE
\stoptext

indeed, as math node lists have a completely different structure ... why use math here?

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to