[XeTeX] Working example using unicode-math and the AMS packages?

Nicolas Vaughan nivaca at gmail.com
Mon Jul 13 16:58:10 CEST 2009


Hi,
Following an advice by Apostolos Syropoulos , this preamble worked fine:

\documentclass{article}
\usepackage{xltxtra}
\usepackage{amsmath}
\usepackage{unicode-math}
\setmathfont{Asana-Math}
\setromanfont[Mapping=tex-text]{Times New Roman}
\usepackage{amsthm}
. . .


Thanks!
Best wishes,

Nicolas


On Mon, Jul 13, 2009 at 9:38 AM, Nicolas Vaughan <nivaca at gmail.com> wrote:

> Hi, Mehdi Omidali.
> Thanks for your example.
>
> It worked. However, if I add this:
>
> \usepackage{xltxtra}
> \setromanfont[Mapping=tex-text]{Times New Roman}
>
> I get the symbol clashes.
>
> Any ideas?
>
> Best wishes,
> Nicolas
>
>
>
> On Mon, Jul 13, 2009 at 3:50 AM, Mehdi Omidali <mehdioa at gmail.com> wrote:
>
>> So here is a sample file that I use unicode-math with amsmath and
>> amsthm without any problem.
>>
>> On 7/13/09, Nicolas Vaughan <nivaca at gmail.com> wrote:
>> > Hi,
>> >
>> > If you use amssymb, call it first.
>> >>
>> > No, I'm not using amssymb. Thanks.
>> > Nicolas
>> >
>> >
>> > On Sun, Jul 12, 2009 at 6:41 PM, Mehdi Omidali <mehdioa at gmail.com>
>> wrote:
>> >
>> >> If you use amssymb, call it first.
>> >>
>> >> On 7/13/09, Nicolas Vaughan <nivaca at gmail.com> wrote:
>> >> > Dear all,
>> >> > I've been trying to "translate" into XeLaTeX a math book I typeset in
>> >> LaTeX,
>> >> > using (amongst others) the AMS packages amsmath and amsthm.
>> >> > But I've been having a lot of symbol clashes (I'm not using any other
>> >> font
>> >> > packages). (I've change the load order of amsmath and unicode-math,
>> with
>> >> no
>> >> > sucess.)
>> >> >
>> >> > Could somebody be so kind as to send me a minimal working example
>> using
>> >> > XeLaTeX, unicode-math, amsmath and amsthm? It'll surely help me a
>> lot!
>> >> >
>> >> > Cheers!
>> >> >
>> >> > Nicolas Vaughan
>> >> >
>> >>
>> >
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20090713/d9469bd3/attachment.html>


More information about the XeTeX mailing list