<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
I just realized in the sample code that I forgot to load the mathtime pro fonts. It has to load before the fontspec package. The sample should read:<div><br></div><div><div>%!TEX TS-program = xelatex</div><div>%!TEX encoding = UTF-8 Unicode</div><div>\begin{documentlcass}</div><div>\usepackage{mtpro2}</div><div>\usepackage{fontspec}</div><div>\usepackage{xltxtra,xunicode}</div><div>\defaultfontfeatures{Mapping=tex-text}</div><div>\setromanfont[Mapping=tex-text]{Times}</div><div>\setmathrm{Times}</div><div><br></div><div>$\det A=3$ $\max x$ </div><div><br></div><div> test </div><div><br></div><div>{\boldmath $\det A$}</div><div>\end{document}</div></div><div><br></div><div><div> <div style="font-size: 12px; ">--</div><div style="font-size: 12px; ">Dennis</div><div style="font-size: 12px; "><br class="khtml-block-placeholder"></div><div style="font-size: 12px; "><br class="khtml-block-placeholder"></div><span class="Apple-style-span" style="font-size: 12px; "><br class="Apple-interchange-newline"></span> </div><br><div><div>On Sep 16, 2010, at 8:08 PM, Dennis Kletzing wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"> <div>Does anyone know how to get MathTimePro2  to work with XeLaTeX? </div><div><br></div><div>In this sample document:</div><div><br></div><div>%!TEX TS-program = xelatex</div><div>%!TEX encoding = UTF-8 Unicode</div><div>\begin{documentlcass}</div><div>\usepackage{fontspec}</div><div>\usepackage{xltxtra,xunicode}</div><div>\defaultfontfeatures{Mapping=tex-text}</div><div>\setromanfont[Mapping=tex-text]{Times}</div><div>\setmathrm{Times}</div><div><br></div><div>$\det A=3$ $\max x$ </div><div><br></div><div> test </div><div><br></div><div>{\boldmath $\det A$}</div><div>\end{document}</div><div><br></div><div>the operator names det and max are Times, test is Times, and the last det is bold Times. But the number 3 and the = sign are Computer Modern.</div><div><br></div><div>If we specify no-math in the fontspec package:</div><div><br></div><div>\usepackage[no-math]{fontspec}</div><div>\usepackage{xltxtra,xunicode}</div><div>\defaultfontfeatures{Mapping=tex-text}</div><div>\setromanfont[Mapping=tex-text]{Times}</div><div>\setmathrm{Times}</div><div><br></div><div>then the 3, the = sign, the x and A and test are all Times, but now the operator names det and max are Computer Modern. Is it possible to get everything in the Times fonts?</div><div><br></div><div>I'm running Texshop 2.29 in OS10.4.11.</div><div>Thanks</div><br><div> <div style="font-size: 12px; ">--</div><div style="font-size: 12px; ">Dennis</div><div style="font-size: 12px; "><br class="khtml-block-placeholder"></div><div style="font-size: 12px; "><br class="khtml-block-placeholder"></div><span class="Apple-style-span" style="font-size: 12px; "><br class="Apple-interchange-newline"></span> </div><br><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">----------- Please Consult the Following Before Posting -----------</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">TeX FAQ: <a href="http://www.tex.ac.uk/faq">http://www.tex.ac.uk/faq</a></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">List Reminders and Etiquette: <a href="http://email.esm.psu.edu/mac-tex/">http://email.esm.psu.edu/mac-tex/</a></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">List Archive: <a href="http://tug.org/pipermail/macostex-archives/">http://tug.org/pipermail/macostex-archives/</a></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">TeX on Mac OS X Website: <a href="http://mactex-wiki.tug.org">http://mactex-wiki.tug.org</a>/</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">List Info: <a href="http://email.esm.psu.edu/mailman/listinfo/macosx-tex">http://email.esm.psu.edu/mailman/listinfo/macosx-tex</a></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div> </blockquote></div><br></div></body></html>