8
\documentclass{article}
\usepackage{fontspec}
\usepackage{polyglossia}
\usepackage{unicode-math}

\setmainfont{Latin Modern Roman}
\setsansfont{Latin Modern Sans}
\setmonofont{Latin Modern Mono}
\setmathfont{Latin Modern Math}

\begin{document}
Hello, world!
Привет, мир!
$ a≡b≠Ω♯$
\end{document}

Here is example, that do not work. Math -- perfect, but no cyrillic in normal mode. What have I missed?

4

1 Answer 1

11

You need text font with Cyrillic support, if you want a Computer Modern derivative, try CM Unicode fonts:

\documentclass{article}
\usepackage{fontspec}
\usepackage{polyglossia}
\usepackage{unicode-math}

\setmainfont{CMU Serif}
\setsansfont{CMU Sans Serif}
\setmonofont{CMU Typewriter Text}
\setmathfont{Latin Modern Math}

\begin{document}
Hello, world!
Привет, мир!
$ a≡b≠Ω♯$
\end{document}
2
  • 2
    Unfortunately, I can not use unicode like ≠ in normal text, unlike with DejaVu font. Well, price of compability. Thank you a lot!
    – KAction
    Aug 1, 2012 at 7:36
  • 1
    This the best place to get the Computer Modern Unicode fonts from.
    – gregoltsov
    Jan 7, 2013 at 23:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .