Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
\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?

share|improve this question
    
It is called Latin Modern, of course it has no Cyrillic support. –  Khaled Hosny Aug 1 '12 at 7:24
    
I need font that use latex with babel by default. What I have to do? –  KAction Aug 1 '12 at 7:26
    
See my answer below. –  Khaled Hosny Aug 1 '12 at 7:32
add comment

1 Answer

up vote 7 down vote accepted

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}
share|improve this answer
1  
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 '12 at 7:36
    
This the best place to get the Computer Modern Unicode fonts from. –  Gregory Goltsov Jan 7 '13 at 23:25
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.