[XeTeX] Cyrillic characters in math environment

LRN lrn1986 at gmail.com
Fri Apr 26 00:11:56 CEST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm using XeLaTeX to typeset some stuff, and i can't figure out how to
get cyrillic chars to appear in formulas.

This is the minimal example of what i'm trying to do:

\documentclass{article}
\usepackage{amsmath}
\usepackage{unicode-math}
\usepackage{fontspec}
\usepackage{polyglossia}
\setdefaultlanguage{russian}
\setmainfont{FreeSerif}


\begin{document}
Значение \(X_ж = 0\)
\end{document}

In the output X doesn't have a subscript.

If i remove unicode-math and enclose "ж" in \mathrm{}, then it does
show up, but it's not italic the way latin characters are. I could use
\it to make it italic, but that just feels wrong, and makes math even
more unreadable.

Maybe i simply don't have a font that is both appropriate for use in
math environment AND features cyrillic glyphs?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJReaosAAoJEOs4Jb6SI2Cwn/0H/i30UD5T2bbqzRuGetAnsKIC
8VIMPG6Y5rFaFFgLDR/jz4Thke5kzj6IeMSHgT6Hgkhrdwa6exk8xcAxNQA+Xlxg
gnbQq9xWB+SmY6tDLQyjB/A/PNxJ+r8/aMMPUISnYkI61by3tRNC9bWAwMGxp1M/
hIPLBW0SJYdhZ9R95sM8g2GZEmedgdQeGA+KK93BOTFgVLdXUoNHeBOfDVwVOMZT
YrmgpERFTyPoyS0lLAlyTRYcJZzFx15ccjIFBlwWo2WTeRgoeEC1IkDPD+62dlHO
nvXbKF3EX2zy8Vmd6Vn3zgE1Uah5P5/kKv6mfMUetNTDsTuHF3QoXp6g2zEnxrk=
=lmri
-----END PGP SIGNATURE-----


More information about the XeTeX mailing list