[XeTeX] How to mix math fonts?

Mojca Miklavec mojca.miklavec.lists at gmail.com
Thu Jul 7 12:30:44 CEST 2011


On Thu, Jul 7, 2011 at 12:30, Mojca Miklavec
<mojca.miklavec.lists at gmail.com> wrote:
> Maybe an easier question would be the following. To compare text fonts
> I could do the following (pseudocode):
>    \font\a="Some font:mapping=tex-text"
>    \font\b="Some Other Font:mapping=tex-text"
>
>    \def\printline#1{{\a #1}{\b #1}}
>    \somecommandtoloopoversomerange{0}{1000}{\printline{\char\loopnumber}}
>
>
> This command (\a and \b) has very low penalty. My question is: how can
> I achieve the same low-level with math? The command
>    \setmathfont{Asana Math}
> takes a lot of resource and is not suitable for very frequent changes of fonts.
>
> Mojca
>



More information about the XeTeX mailing list