My setup for my thesis is that I use fontspec
but leave the math to newtxmath
because I prefer the appearance of this package's symbols over OpenType math fonts. Now my problem is that the Times uppercase letters in math mode have more weight than the TNR ones in text mode, which is too noticeable on the typeset pages. Lowercase letters and numbers are different as well, but I don't mind them that much.
Is it possible to use the TNR font loaded with fontspec
for letters and numbers in math mode? I also would like to preserve the letter forms for g, v, w and z of newtxmath
because they look better than the TNR italic ones.
\documentclass[12pt,a4paper]{article}
\usepackage[varg]{newtxmath}
% fix to have numerals not in CM
\DeclareSymbolFont{operators}{OT1}{ntxtlf}{m}{n}
\SetSymbolFont{operators}{bold}{OT1}{ntxtlf}{b}{n}
\usepackage[no-math]{fontspec}
\setmainfont{Times New Roman}
\newcommand\alphabet{abcdefghijklmnopqrstuvwxyz}
\newcommand\numbers{0123456789}
\begin{document}
\noindent\textit{\alphabet\\\MakeUppercase{\alphabet}}\\\numbers
\noindent\(\alphabet\\\MakeUppercase{\alphabet}\\\numbers\)
\end{document}
The example uses a fix from this answer: https://tex.stackexchange.com/a/394137/75284 to avoid Computer Modern math numerals.
newtxmath
. – lblb Oct 22 '17 at 19:56