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
Asked
Active
Viewed 212 times
1 Answers
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
Aditya
- 62,301
