I want to be able to use the \oldstylenums{} command as a default way for display my numbers, but only outside of math mode. Is this possible to do? I know some fonts come with this numbering system, but is there a way to make the old style the default way for displaying numbers in, let's say, the default font?
Thanks greatly!
Edit: MNW
\documentclass[a4paper,12pt]{extarticle}
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage[colorinlistoftodos]{todonotes}
\usepackage[a4paper,margin=1.5in]{geometry}
\begin{document}
This is a document in the default font, made on 12/3/2014. The numbers in this document need to be in the Old English style (where the number's height differs from each other).
$$\text{This is a math block. These numbers should display as modern English style:}12/3/2014}$$
\end{document}
Aucun commentaire:
Enregistrer un commentaire