[OS X TeX] MathTimePro2 and Xelatex

Dennis Kletzing Dkletzing at cfl.rr.com
Thu Sep 16 20:08:35 EDT 2010


Does anyone know how to get MathTimePro2  to work with XeLaTeX?

In this sample document:

%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\begin{documentlcass}
\usepackage{fontspec}
\usepackage{xltxtra,xunicode}
\defaultfontfeatures{Mapping=tex-text}
\setromanfont[Mapping=tex-text]{Times}
\setmathrm{Times}

$\det A=3$ $\max x$

  test

{\boldmath $\det A$}
\end{document}

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.

If we specify no-math in the fontspec package:

\usepackage[no-math]{fontspec}
\usepackage{xltxtra,xunicode}
\defaultfontfeatures{Mapping=tex-text}
\setromanfont[Mapping=tex-text]{Times}
\setmathrm{Times}

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?

I'm running Texshop 2.29 in OS10.4.11.
Thanks

--
Dennis




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://email.esm.psu.edu/pipermail/macosx-tex/attachments/20100916/ea914cda/attachment.html>


More information about the MacOSX-TeX mailing list