I want to set a text and I know that I want old style numbers. Does anyone know of some source or maybe can themselves list fonts with old style numbers?
[Tex/LaTex] Which LaTeX fonts have old style numbers
fontsoldstylenums
Related Solutions
Educated guess: enclose the text block in a group and switch to the fxl
font.
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[osf]{libertine}
\begin{document}
\Large
Some text 0123 with some \emph{456 numbers \textbf{789}} in between.
\begingroup
\usefont{T1}{fxl}{m}{n}\selectfont
Some text 0123 with some \emph{456 numbers \textbf{789}} in between.
\endgroup
Some text 0123 with some \emph{456 numbers \textbf{789}} in between.
\end{document}
This uses Latin Modern which is a revised version of Computer Modern.
\documentclass[a4paper,12pt]{extarticle}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{cfr-lm}
\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 oldstyle figures, which means that some numerals drop below the baseline.
\[\text{This is a math block. Lining numbers:}12/3/2014\]
{\lstyle To temporarily switch to lining figures, you can use \verb|\lstyle| which will produce 0123456789.
\tstyle To temporarily switch to tabular figures, you can use \verb|\tstyle| which will produce 0123456789 if lining figures are active or \ostyle 0123456789 if oldstyle are being used.}
{\plstyle\verb|\plstyle| explicitly requests proportional, lining figures such as 0123456789}. {\tlstyle\verb|\tlstyle| explicitly requests tabular, lining figures such as 0123456789.} {\postyle\verb|\postyle| explicitly requests proportional, oldstyle figures such as 0123456789} and {\tostyle\verb|\tostyle| explicitly requests tabular, oldstyle figures such as 0123456789.}
Alternatively, commands such as \verb|\textpl{}| will typeset their argument using the relevant style:
\begin{quote}
\textpo{0123456789} \verb|\textpo{0123456789}|
\textto{0123456789} \verb|\textto{0123456789}|
\textpl{0123456789} \verb|\textpl{0123456789}|
\texttl{0123456789} \verb|\texttl{0123456789}|
\end{quote}
\end{document}
Note that, as Mico points out, this has nothing to do with Old English which is a historical ancestor of contemporary English, used long, long before figures were typeset in any style at all! Usually, these figures are called oldstyle (OSF) or sometimes just text or hanging, while the more modern-looking ones are described as lining.
Oldstyle figures are usually, but not necessarily, also proportional i.e. a figure '1' has a smaller width than a figure '8', for example. In contrast, tabular figures have equal widths. Latin Modern actually provides oldstyle tabular and lining proportional figures, as well as oldstyle proportional and lining tabular. This is worth bearing in mind as it affects the options for cfr-lm
and the effect of font commands which switch between styles.
For example:
\usepackage[rm={lining,proportional},sf={lining,proportional},tt={lining,proportional,variable}]{cfr-lm}
will use lining, proportional figures as default - not lining tabular.
Best Answer
Here's a list of common (CTAN available) roman(*) type1 fonts, mostly assuming T1 font encoding ...
(*) i.e., for fonts you might set up in
\rmdefault
. Just to round things out, I've thrown in some examples -- augie, iwona, uncial, etc -- that on first blush don't fit this mould.