I am using \usepackage{newtxmath,newtxtext}. But, \operatorname{} seems to use another font.

How to set up accordingly?

enter image description here

  • 1
    \usepackage{newtxtext,newtxmath} – egreg Mar 7 '18 at 23:51
  • @egreg, ohhh I never imagined that the order could be a solution. Simpler than this, impossible. – Sigur Mar 7 '18 at 23:53

The correct order is the reverse, first newtxtext and then newtxmath.



notations: $Y=N-\operatorname{int}(U)$


enter image description here

In newtxmath.sty we find


and \rmdefaultB is \rmdefault, which still is Computer Modern if newtxtext has not yet been loaded,

  • Do you mean "if newtxtext has not yet been loaded"? – user94293 Mar 8 '18 at 0:34
  • @user94293, I think so. – Sigur Mar 8 '18 at 1:01
  • @user94293 Yes, probably I inverted Sigur’s inversion and the inverted again… :-) – egreg Mar 8 '18 at 7:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.