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?
The following code in the preamble should do what you want:
This should go after you have defined the text font and loaded mtpro2
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
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