[OS X TeX] MathTimePro2 and Xelatex

Dennis Kletzing dkletzing at cfl.rr.com
Fri Sep 17 12:57:58 EDT 2010


I tried loading mtpro2 after the fontspec package but it wouldn't  
load. The fontspec has to load after mtpro2 or it gives a clash  
error. But I did discover that if you put the line

\DeclareSymbolFont{operators}   {\encodingdefault}{\rmdefault}{m}{n}

(taken from the mtpro2 package) after all of the packages load, then  
everything is fine. It looks like something in the fontspec[no-math]  
package is turning off the font controls for the operators.

On Sep 16, 2010, at 11:15 PM, R. Vijay Krishna wrote:

> 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----------- 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://email.esm.psu.edu/pipermail/macosx-tex/attachments/20100917/17b2ed9d/attachment.html>

More information about the MacOSX-TeX mailing list