Fonts & Character SetsForce "new style" numbers with Minion Pro

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
bookgrinder
Posts: 3
Joined: Thu Mar 01, 2012 9:45 pm

Force "new style" numbers with Minion Pro

Post by bookgrinder »

Hi everybody, I'm happily using Minion for a book but I'd really like LaTeX to display "new style" numbers (the ones all the same height) instead of "old style". I'm sure Minion has them, but I don't know how to tell LaTeX to use them, at least for page numbers. Document class is scrbook (KOMA).
Thanks for your suggestions!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Force "new style" numbers with Minion Pro

Post by localghost »

For an adequate problem description please add a minimal example that shows the undesired behaviour. Especially detailed information about the used typesetting engine (PDFLaTeX, XeLaTeX) will be helpful.


Best regards and welcome to the board
Thorsten
bookgrinder
Posts: 3
Joined: Thu Mar 01, 2012 9:45 pm

Force "new style" numbers with Minion Pro

Post by bookgrinder »

Sorry, this should do:

Code: Select all

\documentclass[b5paper,13pt,toc=flat,DIV=15]{scrbook}
\usepackage{scrpage2}
\pagestyle{scrheadings}
\usepackage{MnSymbol}
\usepackage{MinionPro}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage{textcomp}
\usepackage{graphicx}
\begin{document}
These are numbers: 0 1 2 3 4 5 6 7 8 9.
\end{document}
I'm using MikTeX and installed Minion following the guide featured on this forum.
Attachments
minion-oldstyle.pdf
(46.88 KiB) Downloaded 612 times
Last edited by bookgrinder on Thu Mar 01, 2012 10:45 pm, edited 1 time in total.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Force "new style" numbers with Minion Pro

Post by localghost »

Since I don't have Minion Pro installed for PDFLaTeX (and never will), I can't help here. Perhaps somebody else can.

Usually font packages are loaded after the fontenc package. It's not for sure that this is related to the problem. Check the log file for any hints.
bookgrinder
Posts: 3
Joined: Thu Mar 01, 2012 9:45 pm

Force "new style" numbers with Minion Pro

Post by bookgrinder »

I'll reply to myself as I found the solution: load the MinionPro package with the textlf (lining figures) option.

Code: Select all

\usepackage[textlf]{MinionPro}
Last edited by Stefan Kottwitz on Sat Mar 03, 2012 2:18 am, edited 1 time in total.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Force "new style" numbers with Minion Pro

Post by Stefan Kottwitz »

Thanks for the information! I knew the mathlf option, for switching off oldstyle numbers in math mode with Minion Pro, which has been mentioned in the forum earlier: Roman font doesn't change, conflict with fontspec. Perhaps this is useful for you too, regarding math mode.

Stefan
LaTeX.org admin
Post Reply