I am using \usepackage{newtxmath,newtxtext}
. But, \operatorname{}
seems to use another font.
How to set up accordingly?
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityI am using \usepackage{newtxmath,newtxtext}
. But, \operatorname{}
seems to use another font.
How to set up accordingly?
The correct order is the reverse, first newtxtext
and then newtxmath
.
\documentclass{article}
\usepackage{newtxtext,newtxmath}
\usepackage{amsmath}
\begin{document}
notations: $Y=N-\operatorname{int}(U)$
\end{document}
In newtxmath.sty
we find
\DeclareSymbolFont{operators}{\tx@enc}{\rmdefaultB}{m}{n}
and \rmdefaultB
is \rmdefault
, which still is Computer Modern if newtxtext
has not yet been loaded,
:-)
\usepackage{newtxtext,newtxmath}