How to get lining figures in tables and math?

How to get lining figures in tables and math?

The libertine package per default has the options lining and tabular activated. In normal text you usually want proportional and oldstyle, though. You don’t want to set them as package options, though, but only after newtxmath has been loaded to get lining figures in math.

What do the numbers mean in Oldstyle font?

Numbers are a common element in text. They are used to indicate dates, times, addresses, measurements quantities, prices and other data. In typography, the symbols used to represent numbers are commonly referred to as figures or numerals. Oldstyle figures are one of two styles of numerals, the other being lining figures.

When to use oldstyle figures in a column?

Tabular oldstyle figures are best reserved for columns of numbers where vertical alignment is desired, such as tables, financial data, and similar listings.

What kind of spacing do you use for oldstyle figures?

Oldstyle figures can be designed with two different spacing formats: proportional and tabular. [link to Proportional vs. Tabular Figures article] Proportional oldstyle figures are recommended for running text, including dates, times, measurements, and pagination.

How to line figures in math in newtxmath?

You don’t want to set them as package options, though, but only after newtxmath has been loaded to get lining figures in math. This could be done by defining \\libertine@figurealign to an empty definition (with pdfLaTeX) or to Proportional (with XeLaTeX or LuaLaTeX) and call \\libertineOsF afterwards:

How to make mhchem have lining numbers in text mode?

This could be done by defining \\libertine@figurealign to an empty definition (with pdfLaTeX) or to Proportional (with XeLaTeX or LuaLaTeX) and call \\libertineOsF afterwards: If you now want that mhchem has lining numbers in text mode, too, you have to set its font option: