2

guys is there any way to setup a tabular environment in ConteXt. What i need is the equivalent of \AtBeginEnvironment{tabular} (latex command) but in ConTeXt. The goal is to use opentype features like tabular, proportional numbers only in tables. More info here: tabular numbers in tables, proportional in text

1
  • More than one: Table environment. In my opinion, the easiest to use is Natural Tables.
    – Aditya
    Jun 23, 2016 at 15:16

1 Answer 1

4

Here is a complete example showing how to having old style numbers in the running text and proportional numbers in tables:

\definefontfeature[default][default][onum=yes]
\definefontfeature[lnum][onum=no, lnum=yes]

\setupbodyfont[modern]

\starttext
12345

\startTABLE[style=\addff{lnum}]
  \NC 12345 \NC 67890 \NC \NR
\stopTABLE

\stoptext

enter image description here

1
  • Thanks Aditya, but what if i use \starttabulate instead \startTABLE?
    – jl4c
    Aug 27, 2016 at 20:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .