MinionPro, newtxmath and further misadventures with oldstyle and lining
figures
In continuing my journey with the newtxmath package, this time I've tried
the next code:
\documentclass{memoir}
\usepackage{textcomp}
\usepackage[lf,onlytext]{MinionPro}% no osf, no math
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage[minion,vvarbb,cmbraces,cmintegrals]{newtxmath}
\renewcommand{\rmdefault}{pmnj} % use osf in text
\begin{document}
\noindent
Text figures: 0123456789
\par\noindent
Math figures: $0123456789$
\end{document}
This appears in the documentation for minion2newtx. My problem is that
when I pdfLaTeX the code above, what I get is the Latin Modern fonts (or
Computer Modern) for text mode, and MinionPro for math mode. The line to
blame for this is that one setting the roman typeface to pmnj. If I
comment the corresponding line, I get everything Minion, but text figures
are lining, while what I want is lining figures for math mode and oldstyle
for text mode. I believe my system (MikTeX 2.9 updated just today) has the
right settings and all the necessary fonts files, but maybe I'm skipping
something.
A second issue is that if I use MinionPro in math mode, not loading
newtxmath and deleting the option onlytext when loading MinionPro I get
the wrong glyphs for at least some of the operators. Maybe this has
something to do with the first problem, but I really don't know.
Could someone provide some hints as to what's happening? Maybe it's just
something about my own MikTeX setup, but so far I haven't been able to
find anything wrong.
No comments:
Post a Comment