[XeTeX] Primes and unicode-math.

Khaled Hosny khaledhosny at eglug.org
Mon Oct 11 22:01:36 CEST 2010

On Mon, Oct 11, 2010 at 10:23:42PM +0300, Stratos Paschos wrote:
> On Sun, Oct 10, 2010 at 11:19 PM, Cole Leahy <coleleahy at gmail.com> wrote:
> > This is more or less a continuation of the thread
> > at http://tug.org/pipermail/xetex/2010-October/018741.html. Unfortunately, I
> > don't know how to include this message in that thread, since I don't
> > actually receive email from this list. Please excuse me. Anyway, Khaled's
> > suggestion from that thread worked; using the following source, Greek and
> > Latin characters appear in the desired font within math mode.
> > \documentclass{article}
> > \usepackage{amsmath}
> > \usepackage{unicode-math}
> > \setmainfont{Linux Libertine O}
> > \setmathfont{xits-math.otf}
> > \setmathfont[range=\mathit/{latin,Latin,greek,Greek}]{Linux Libertine O  Italic}
> Put the line
> \setmathfont{xits-math.otf} AFTER the line
> \setmathfont[range=\mathit/{latin,Latin,greek,Greek}]{Linux Libertine O  Italic}

I'm not sure this would be side effect free, at least in XeTeX since
many math typesetting parameters are derived from the first font. What
do you think, Will?


 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer

More information about the XeTeX mailing list