I want to use the font Fira Sans for my document, but this font has only "old-style" numbers. I was wondering if it was possible to change only the numbers' font so it would be different from the alphabetical characters.
I searched a lot but all answers I could find would only change the font in math mode using \DeclareMathSymbol
, I want this modification to affect all the document.
Thank you.
PS: I realize I could just use another font which has regular numbers, but I want to know (no matter the extra work) if its feasible.
\usepackage[sfdefault,lining]{FiraSans}
, the numbers are lining.FiraSans
package also supports the 2x2 set of possibilities.unicode-math
, you can\setmathfont[range=up/Digits, Numbers={Lining, Proportional}, Scale=MatchUppercase]{Fira Sans}
. You could also try the experimental Fira Math font.