[texhax] How to change fonts for numbers vs. letters

Bob Tennent rdt at cs.queensu.ca
Wed Mar 1 04:37:17 CET 2017


 >|>  >|I selected a cool font in Latex but the numbers are
 >|>  >|offset from each other. For example, the 2 is larger than
 >|>  >|the one in the number 12, like this:
 >|>  >|1 2
 >|>  >|  2
 >|>
 >|> It would be nice if you could tell us what this "cool font"
 >|> is because your description of the problem makes no sense
 >|> to me.  I suppose you mean wider rather than "larger"?
 >|
 >|No, larger. See:
 >|http://www.tug.dk/FontCatalogue/berenisadf/index.html
 >|Notice the numbers 1 vs. 9. 

Those are old-style numbers, though these are more bizarre
than usual. Use

\usepackage[lf]{berenis}

to get lining figures or

\usepackage[lf,tab]{berenis}

to get tabular lining figues. Read the documentation for
more options.

Bob T.


More information about the texhax mailing list