XeTeXMath mode symbols like Times New Roman

Information and discussion about XeTeX, an alternative for pdfTeX based on e-Tex
Post Reply
dinya
Posts: 11
Joined: Sat Oct 24, 2009 6:24 pm

Math mode symbols like Times New Roman

Post by dinya »

Hello all.

I have to use Times New Roman font.
But in math mode I use standart LaTeX math font (CM?).

I want to make math mode symbols look like Times New Roman.

Direct setting like

Code: Select all

\usepackage{unicode-math}
\setmathfont{Times New Roman}
is not a way, because I have rectangles instead of greek symbols and some other symbols. I don't know why, because Times New Roman has greek alphabet.

Is any way to make Times New Roman-like font in the math mode?

May be direct redefinition of symbols for math mode? Like

Code: Select all

\DeclareUTFcharacter[\UTFencname]{x237A}{\alpha}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

Math mode symbols like Times New Roman

Post by josephwright »

Math mode fonts have to be constructed in the correct way. In particular, just because a text font contains the same visual symbols as a math font does not mean that the symbols will show up correctly: it's about the underlying meaning. You need to use a proper Unicode math font here. The best match for Times New Roman is probably XITS, so I would go with

Code: Select all

\setmathfont{xits-math.otf}
Joseph Wright
dinya
Posts: 11
Joined: Sat Oct 24, 2009 6:24 pm

Re: Math mode symbols like Times New Roman

Post by dinya »

Thanks. This works for me
Post Reply