LaTeX forum ⇒ XeTeXMath mode symbols like Times New Roman Topic is solved

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

Math mode symbols like Times New Roman

Postby dinya » Thu Jul 05, 2012 6:45 am

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

  1. \usepackage{unicode-math}
  2. \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
  1. \DeclareUTFcharacter[\UTFencname]{x237A}{\alpha}

josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

Postby josephwright » Thu Jul 05, 2012 10:11 am

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
  1. \setmathfont{xits-math.otf}
Joseph Wright

dinya
Posts: 11
Joined: Sat Oct 24, 2009 6:24 pm

Postby dinya » Thu Jul 05, 2012 12:34 pm

Thanks. This works for me


Return to “XeTeX”

Who is online

Users browsing this forum: No registered users and 1 guest