TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using baskerville for my text font and mtpro2 for the math. But the numerals in text and in math are different. After looking at mtpro2 documentation I could not find an option for forcing the text numerals in the math mode. Does anyone know of a work around?

share|improve this question
up vote 2 down vote accepted

The following code in the preamble should do what you want:


This should go after you have defined the text font and loaded mtpro2

share|improve this answer
Tried it, did not work. – Hesam Dec 5 '11 at 12:09
@Hesam Well, with the too scarce information you're giving, it's hard to say more than this. – egreg Dec 5 '11 at 12:10
What information do you need? I added the code as you instructed after the text font and mtpro2 were loaded and I trashed all auxiliary files but then after typesetting the output has not changed. – Hesam Dec 5 '11 at 12:15
@Hesam Try with the new version – egreg Dec 5 '11 at 12:21
Thank you this one works! – Hesam Dec 5 '11 at 12:23

mtpro2 -- short for "MathTime Pro 2" -- provides mathmode fonts only. AFAIK, mtpro2 only provides "lining" (aka "titling") numerals, but not "oldstyle" (or "textstyle") numerals.

You mention that you're using a Baskerville text font: does it feature textstyle/oldstyle numerals? Textstyle numerals probably shouldn't be used in math expressions, especially those that involve subscripts and exponents (superscripts) as the ascenders and descenders of some of these numerals could give rise to confusion. (Try typesetting $6^{2^4}$ vs $6^{24}$ with textstyle numerals and not being at least slightly puzzled by the output.)

Only in places such as page numbers and in sectioning divisions is it innocuous to use textstyle numerals if a document features a fair amount of math.

There are packages, such as mathpazo, which provide the option osf to load oldstyle figures. However, they generally do so only for textmode numerals. It's probably not an accident that the mathmode numerals of the mathpazo package are all in "lining" or "titling" style.

share|improve this answer
This is not even a response to my question. You are telling me that if my text font has osf figures (like baskerville) using them in Math mode is not a good idea. Alright but I still want to do it, how can I? Also what if my text font did not have osf numerals but just different ones? Furthermore LaTeX's default is to use text numerals in math, what happens in mtpro2 is abnormal. – Hesam Dec 5 '11 at 12:00
On which basis do you rest your claim, "LaTeX's default is to use text numerals in math"? – Mico Dec 5 '11 at 13:34
That is what Walter Schmidt writes in "Using MathTime Professional II fonts with LaTeX". It is the LaTeX guide for the font (as opposed to the TeX guide). – Hesam Dec 5 '11 at 19:51
Thanks. The full quote from this document is: "LATEX's default behavior is to typeset numbers and punctuation in math mode using the \mathrm alphabet, which normally equals the default text font." Well, this statement does apply if the Computer Modern or Latin Modern font families are loaded. However, it does not apply for many other font families, including, e.g., mathpazo -- even if the osf option was specified to request oldstyle numerals in text mode: mathpazo will use lining numerals when in math mode. Hence, it is not particularly abnormal for mtpro2 to use its own numerals... – Mico Dec 5 '11 at 20:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.