[OS X TeX] MathTimePro2 and Xelatex

R. Vijay Krishna rvk at unc.edu
Fri Sep 17 05:15:19 CEST 2010


On Sep 16, 2010, at 10:22 PM, Dennis Kletzing wrote:

> 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

I think you should load the MTPro2 fonts after declaring fonts via fontspec, which will allow MTPro2 to use the text fonts for operators (sin, log, max etc).  

Vijay


More information about the macostex-archives mailing list