[OS X TeX] MathTimePro2 and Xelatex

Dennis Kletzing dkletzing at cfl.rr.com
Fri Sep 17 04:22:32 CEST 2010


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:

%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\begin{documentlcass}
\usepackage{mtpro2}
\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}

--
Dennis




On Sep 16, 2010, at 8:08 PM, Dennis Kletzing wrote:

> 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
>
>
>
>
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/macostex-archives/attachments/20100916/f6f2fb83/attachment.html>


More information about the macostex-archives mailing list