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.

I love XeLaTeX for things like

$a≠b$ ⇔ $ a⊧a↑Ω$

All days before I used DejaVu fonts and Asana-Math for unicode-math. But today I have to get visual compability with LaTeX. So I installed Computer Modern Unicode, and all close to good, but thinks like above do not displayed in non-math mode.

Yes, I know, Computer Modern is no longer modern at all. So my question -- is it any other font, that looks close and retains power of unicode?

EDIT: Probably, I was not clean enough. I CAN use unicode arrows in math-mode. I can do it in normal mode with DejaVu, but not with Modern Computer.

share|improve this question
    
I don't understand. LM fonts are similar enough with CM ones. Or you want to use math symbols in text mode? –  Leo Liu Jul 31 '12 at 8:08
2  
Computer Modern was no longer modern 100 years before it was conceived; the term modern refers to an 18th century style. –  Khaled Hosny Jul 31 '12 at 8:23
    
@Leo Liu Yes. Gaze at example. Double arrow is outside of math mode. Unfortutanely, I cannot attach 2 pdf files to show problem even more clearly. –  KAction Jul 31 '12 at 8:27
    
@illusionoflife: Yes, it is possible to use Latin Modern Math even in text mode, with help of \XeTeXinterchartoks faculty, see my answer in Font selection in XeTeX for specific characters. However, it is still better to use it in math mode, for better spacing and sematic reasons. –  Leo Liu Jul 31 '12 at 8:58
    
Too complicated to cure imperfect font. But still thanks. –  KAction Jul 31 '12 at 9:57
add comment

1 Answer

Use Latin Modern Math as math font.

Example:

\documentclass{article}
\usepackage{unicode-math}
\setmathfont{Latin Modern Math}
\begin{document}

$a≠b ⇔ a⊨a↑Ω$

\end{document}
share|improve this answer
    
Cleaned my question. Latin modern is nice, but unrelated to my problem. –  KAction Jul 31 '12 at 8:00
3  
@illusionoflife Latin Modern is Computer Modern, how is that not related to your question? –  Khaled Hosny Jul 31 '12 at 8:20
1  
Latin modern is more or less a hand-vectorised computer modern, see e.g. tex.stackexchange.com/q/1390 or tex.stackexchange.com/q/59702 –  matth Jul 31 '12 at 8:21
    
Where do you get "Latin Modern" and "Latin Modern Math"? Do you have to install it as normal system font? I have TeXLive 2013 and it is not found there. –  alfC Apr 17 at 18:30
    
@alfC: They're installed in TeX Live. If you use Linux, maybe you can follow the instructions in document of texlive to configure your fontconfig library to find them. –  Leo Liu Apr 20 at 2:53
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.