Am Thu, 7 Jul 2011 12:13:21 +0200 schrieb Mojca Miklavec: > Thanks a lot for the answer. Actually, the looping itself is not a > problem. I was trying to modify Will Robertson's document > (http://mirrors.ctan.org/macros/latex/contrib/unicode-math/unimath-symbols.pdf)
> I'm still trying to decipher Ulrike's answer (bearing in mind that I
> don't speak any latex 3 at all).
You don't need to much about latex 3, only that you activate the
catcodes with \ExplSyntaxOn. The more important knowledge you need
is how to define a mathversion. I just tried my code with
unimath-symbols. It seems to work fine. I attach the new version.
The glyphs of the second font are inserted with \SYMBUF. Attention:
if you want to change the definition of command you must do it in
two places (in the \mathaccent section it has a different
definition).
While testing I found out that \Cap and Cup give different results.
I would say XITS is wrong:
\documentclass{article}
\usepackage{unicode-math}
\begin{document}
\setmathfont{Asana Math}
$\Cap \Cup$
\setmathfont{XITS Math}
$\Cap \Cup$
\end{document}
--
Ulrike Fischer
unimath-symbols-two-fonts-uf.ltx
Description: Attached file: unimath-symbols-two-fonts-uf.ltx
-------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
