How can I change from old style numbers to normal looking numbers when using cursive modes such as \emph ? My problem occurs when I try to make a reference using the style=chem-acs package, because the numbers does not in any way look like the ones in prober articles. Here is my preamble:

\em{1 2 3 4 5 6 7 8 9}

Numbers I get from my code

  • I have now updated my problem with the result. – Gustav Wørmer Nov 21 '16 at 21:22
  • Umm, the numerals shown in the screenshot are lining numerals, not old-style numerals. – Mico Nov 21 '16 at 21:23
  • Is that really the normal look of numbers cause that is not how they display them in chemistry articles in JACS? – Gustav Wørmer Nov 21 '16 at 21:25
  • \em{1 2} is incorrect syntax. Anyway, you're telling TeX to print numbers in italics. – egreg Nov 21 '16 at 21:31
  • Is that why they look odd? – Gustav Wørmer Nov 21 '16 at 21:39

There may be some terminological confusion over numeral style -- "lining" versus "oldstyle" on the one hand and numeral shape -- "upright" versus "italic" -- on the other. Style and shape are two separate and (in principle) independent aspects.

The following table, which loads the cfr-lm package for its \ostyle and \lstyle macros, shows the shapes and styles of the numerals in a 2x2 table:

enter image description here

Observe that the numerals shown in your screenshot are lining numerals, not oldstyle numbers.

If you absolutely, positively can't stand the look of Computer Modern's italic numerals, you may need to start thinking about employing a different font family for your document.

font shape   & \multicolumn{2}{c@{}}{numeral style}\\
             & lining & oldstyle \\
upright      &\lstyle{0123456789}    &    \ostyle{0123456789}\\
italic       &\em\lstyle{0123456789} & \em\ostyle{0123456789}\\

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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