I'd like to use oldstylenums
by default. Now I do it with package kpfonts. But sometimes I need to use lining numbers here and there, for example with capital letter stuff, like ISO 9000. Is there an easy way like with a macro \newstylenums{123}
?
MWE:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[oldstylenums]{kpfonts}
\begin{document}
Numbers 123456789 are oldstyle. BUT 123456789 SHOULD BE NEWSTYLE!
\end{document}
And is there a general solution or does it depend on the font package in use?