Willi Egger
29. März 2016 um 20:38
I underrstand this, however then I do not get tabular figures…
Do you want them for oldstyle figures or lining figures.
\definefontfeature [onum+pnum] [onum=yes,lnum=no,pnum=yes,tnum=no]
\definefontfeature [onum+tnum] [onum=yes,lnum=no,pnum=no,tnum=yes]
\definefontfeature [lnum+pnum] [onum=no,lnum=yes,pnum=yes,tnum=no]
\definefontfeature [lnum+tnum] [onum=no,lnum=yes,pnum=no,tnum=yes]
\setupbodyfont[pagella]
\starttext
\starttabulate[|f{\addfeature{onum+pnum}}r|f{\addfeature{onum+tnum}}r|f{\addfeature{lnum+pnum}}r|f{\addfeature{lnum+tnum}}r|]
\dorecurse{100}{\NC \vrule\threedigits{##1}\vrule \NC \vrule\threedigits{##1}\vrule \NC \vrule\threedigits{##1}\vrule \NC \vrule\threedigits{##1}\vrule \NC\NR}
\stoptabulate
\stoptext
Wolfgang