# Re: [NTG-context] XeTeX old style numerals

Mohamed Bana wrote:
> Mojca Miklavec wrote:
>> On Fri, Sep 19, 2008 at 8:07 PM, Mohamed Bana wrote:
>>
>>> Hi guys,
>>>
>>> Why doesn't this definition use the old style numerals that come with the
>>> font?
>>>  It seems to use the latin modern font when I try to use \os.  Small caps
>>> are
>>> working fine.

\os is kind of special because it's related to the fact that good old
tex and the cm fonts have oldstyles in some math font and therefore some
effort is needed to use it in text

we might consider mapping \os to something

\def\os{\groupedcommand{\setfontfeature{oldstyle}}{}}

which in mkiv will make

1234567890 {\os 1234567890} 1234567890

work

-----------------------------------------------------------------
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________