TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In a CV I would like all numbers to be text figures. I can do this manually by using the {\os 123} switch locally, but I would like text figures to be the default in the document. How?

If I make it the default, can I override it in some way if I want titling figures?

share|improve this question
up vote 2 down vote accepted

You can add the font feature onum (old style numbers) to the default set of font features as follows:

  [default] [default]

Now all number are changed. To switch back to normal numbers you can subtract the feature within a group:

 {\feature[-][oldstyle] 0123456789}

For less clutter within the document I would suggest the more semantic approach to create a logical markup element, e.g. nooldstyle. Here's a complete example:

  [default] [default]




share|improve this answer
Thank you, I already tried that. Seems like \setupbodyfont [cmr,10pt] is messing this up. It only works with OpenType fonts I guess? I'd like to keep using Computer modern (cmr) instead of Lucida bright (lbr). – PetaspeedBeaver Mar 26 '13 at 15:16
I don't quite understand the comment about Lucida. Lucida is not used by default and doesn't even ship with ConTeXt. If you want to use Computer Modern in contrast to the default “Latin Modern” you can use an OpenType version of Computer Modern. I don't know if it contains old style figures, though. – Marco Mar 26 '13 at 15:57
You're right, I was thinking of "Latin Modern", anyhow, if I remove \setupbodyfont[10pt] the old style figures work. As soon as I set the body font (even just changing size as above, text figures doesn't work. Any idea on how to change font size and still keep them? – PetaspeedBeaver Mar 26 '13 at 16:39
It works for me if I add \setupbodyfont[10pt] before \starttext in my example above. – Marco Mar 26 '13 at 16:44
The font uses up the default font features defined at that point where you select that font. This concept applies to ConTeXt or TeX in general. TeX doesn't look forward to check what might be defined later. – Marco Mar 26 '13 at 16:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.