2022-10-18
As what I said in the following, newtxtext
is a free choice to the text font. From the latex templates provided by Springer, the text font is indeed newtxtext
. See the page 1 in Manuscript Guidelines for English Books for the download link. Note that the math(equation) font is newtxmath
in the template while not mtpro2
.
So the author of the book you provide possibly use newtxtext
as the text font and mtpro2
as the math(equation) font.
2022-05-30
The math fonts should be from the mtpro2
package for which there is a simplified version on CTAN while isn't in your TeX system, and you could also buy the complete version from the link. Since the mtpro2
package provides no text fonts, you should pick some text fonts to match with mtpro2
, for which one free choice is the newtxtext
package as shown in the following codes and output.
\documentclass[leqno]{book}
%%%fonts setting%%%%%%%%%%%%%%%%%%%%%%
%text fonts setting-----------------------------------
\usepackage[full]{textcomp}
\usepackage{newtxtext}%
%math fonts setting-------------------------------
\usepackage{amsmath}%use some basic math environments
\usepackage{amsfonts,mathrsfs}%use \mathcal, \mathfrak, \mathbb, \mathscr
\usepackage[lite]{mtpro2}%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{hyperref}%use \eqref
\begin{document}
The following example comes from page 371 in the book you provided.
\begin{enumerate}
\item[3.] Note that
\[
\langle f,y\rangle\leq\lVert f\rVert\leq\lVert y\rVert\leq \frac{1}{2}\leq\lVert f\rVert^2+\frac{1}{2}\leq\lVert y\rVert^2.
\]
Conversely, assume that $f $satisfies
\begin{equation}
\frac{1}{2}\lVert y\rVert^2-\frac{1}{2}\lVert x\rVert^2\geq \langle f,y-x\rangle \forall y\in E.\tag{S1}\label{eq01}
\end{equation}
First choose $y = \lambda x$ with $\lambda\in\mathbb{R}$ in \eqref{eq01}; by varying $\lambda$ one sees that $\langle f,x\rangle=\lVert x\rVert^2$. Next choose $y$ in \eqref{eq01} such that $\lVert y\rVert=\delta\geq 0$; it follows that
\[
\langle f,y\rangle\leq \frac{1}{2}\delta^2+\frac{1}{2}\lVert x\rVert^2.
\]
\end{enumerate}
\end{document}
Another free choice given by the author of the mtpro2
package is Adobe Times (ptm
).
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\renewcommand{\rmdefault}{ptm}
Both of them look very well if you ask for no more. While in fact, neither newtxtext
nor ptm
match completely with mtpro2
in letter shapes, for example the italic z as shown in the following output.
The font series which the author of the mtpro2
package recommends most and I find matchs best with mtpro2
is the Times New Roman Pro series produced by Monotype, which is also not free, and has been in my hand. If you want to buy them, then it's enough to buy four shapes: regular, italic, semibold, semibold italic. The following is a way to invoke both them and simplified mtpro2
. The author of the mtpro2
package also recommends Adobe Times, Times Ten and similar typefaces, such as Baskerville or Concorde to be the text fonts.
%%%fonts setting%%%%%%%%%%%%%%%%%%%%%%
%text fonts setting-----------------------------------
\usepackage{fontspec}
\setmainfont[ItalicFont ={Times NR MT Pro Italic},
BoldFont ={Times NR MT Pro SemiBold},
BoldItalicFont ={Times NR MT Pro SemiBold It}]
{Times NR MT Pro}
%math fonts setting-------------------------------
\usepackage{amsmath}%use some basic math environments
\usepackage{amsfonts,mathrsfs}%use \mathcal, \mathfrak, \mathbb, \mathscr
\usepackage[lite]{mtpro2}%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
And if you also buy the complete mtpro2
which has been also in my hand, then use the following codes.
%%%fonts setting%%%%%%%%%%%%%%%%%%%%%%
%text fonts setting-----------------------------------
\usepackage{fontspec}
\setmainfont[ItalicFont ={Times NR MT Pro Italic},
BoldFont ={Times NR MT Pro SemiBold},
BoldItalicFont ={Times NR MT Pro SemiBold It}]{Times NR MT Pro}
%the full names may be different with different versions
%math fonts setting-------------------------------
\usepackage{amsmath}%use some basic math environments
\usepackage{amsfonts,mathrsfs}%use \mathcal, \mathfrak, \mathbb, \mathscr
\usepackage{mtpro2}%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
You could also use \mathcal
, \mathfrak
, \mathbb
and \mathscr
in the mtpro2
package by adding some options and deleting \usepackage{amsfonts,mathrsfs}
.
Note: In my opinion, using Times New Roman Pro as text fonts and fonts from mtpro2
as math fonts is the best program so far as now to use Times in LaTeX.
By the way, as you see, such Times fonts have a larger line weight than Computer Modern fonts, and match well with the screen in a not so high resolution. But if you read such Times texts on the screen in a high resolution, for example, the Macbook Pro Reinta screen, then some visual pressure would come out. So it's necessary to creat some Times fonts with a smaller line weight or with the similar line weight to Computer Modern fonts, which are not existed right now. And I have been designing such a Times series off and on for a long time.
Hope these useful for you.
Apparently, digits scale differently in NewCM-Math.
You can assign the text font to the digits.
\documentclass{article}
\usepackage{polyglossia}
\usepackage{fontspec}
\setmainfont[
Extension = .otf,
UprightFont = *-Regular,
BoldFont = *-Bold,
ItalicFont = *-Italic,
BoldItalicFont = *-BoldItalic,
Ligatures = {
TeX,
CommonOff
},
NFSSFamily=ncm,
]{NewCM10}
\usepackage[
math-style = TeX,
warnings-off = {
mathtools-colon
}
]{unicode-math}
\setmathfont{NewCMMath-Regular.otf}
\setmathfont[
version = bold,
FakeBold = 4,
]{NewCMMath-Regular.otf}
\setdefaultlanguage{danish}
% fix digits
\DeclareSymbolFont{textdigits}{TU}{ncm}{m}{n}
\SetSymbolFont{textdigits}{bold}{TU}{ncm}{b}{n}
\Umathcode`0="7 \symtextdigits `0
\Umathcode`1="7 \symtextdigits `1
\Umathcode`2="7 \symtextdigits `2
\Umathcode`3="7 \symtextdigits `3
\Umathcode`4="7 \symtextdigits `4
\Umathcode`5="7 \symtextdigits `5
\Umathcode`6="7 \symtextdigits `6
\Umathcode`7="7 \symtextdigits `7
\Umathcode`8="7 \symtextdigits `8
\Umathcode`9="7 \symtextdigits `9
\newcommand{\test}{%
12345 versus $12345$\par
\sbox0{12345}\the\wd0\ versus \sbox0{$12345$}\the\wd0\par
}
\begin{document}
\test {\bfseries\boldmath\test}
\bigskip
{\footnotesize\test {\bfseries\boldmath\test}}
$a+b=c$
{\boldmath$a+b=c$}
\end{document}
Without the \Umathcode
lines, the output is
Best Answer
With {adjustbox}{totalheight=..} 3cm in my example.