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. – egreg Sep 06 '15 at 22:28FiraSanspackage also supports the 2x2 set of possibilities. – cfr Sep 07 '15 at 01:17unicode-math, you can\setmathfont[range=up/Digits, Numbers={Lining, Proportional}, Scale=MatchUppercase]{Fira Sans}. You could also try the experimental Fira Math font. – Davislor May 16 '19 at 18:43