[XeTeX] How to mix math fonts?

Mojca Miklavec mojca.miklavec.lists at gmail.com
Wed Jul 13 09:27:57 CEST 2011


On Tue, Jul 12, 2011 at 14:23, Will Robertson wrote:
> On 06/07/2011, at 3:41 PM, Mojca Miklavec wrote:
>
>> I would like to know how I can use unicode-math package for mixing
>> multiple fonts. (I don't mean taking a few characters from one font
>> and a few symbols from the other.) I would like to display one
>> character from LM Math for example and the same one in XITS math next
>> to each other, looping over "the whole" unicode range.
>>
>> I could use \setmathfont for each individual character, but then it
>> takes ages to compile.
>
> Sorry for the slow reply.
>
> Do the characters need to actually be set up for math use? For situations like this, I just grab the glyph directly with \char. Otherwise there's no easy way to do it, I think.

As Ulrik already pointed out: we actually only have a feature request
for you: to create a version of unimath-symbols.ltx that would be able
to compare two fonts side-by-side (when testing new fonts and
comparing them with some complete font families).

Mojca


More information about the XeTeX mailing list