[NTG-context] Math columns in Natural Tables

Hans Hagen pragma at wxs.nl
Mon Aug 1 13:59:36 CEST 2016


On 7/31/2016 5:09 PM, Henri Menke wrote:
> Dear list,
>
> with the old tabulate macros there was the possibility to format columns as math (m for inline, M for display).  Is there any possibility to typeset cells in math mode in Natural Tables?  This way, the hyphen would be rendered as minus and spacing around relation and binary operators would be consistent (example below).
>
> Cheers, Henri
>
> ---
>
> \starttext
>
> \starttabulate[|m|]
>   \NC -4.11\%<0.02\% \NC\NR
> \stoptabulate
>
> %\setupTABLE[???]
> \startTABLE
>   \NC -4.11\%<0.02\% \NC\NR
> \stopTABLE
>
> \stoptext

a bit tricky but a next version will have

\setupTABLE[c][1][style=math]


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list