Compiling the following Minimal Broken Example
\documentclass{article}
\usepackage{newtxtext}
\usepackage[subscriptcorrection]{newtxmath}
%\usepackage[lite,subscriptcorrection]{mtpro2}
\usepackage{tensor}
\begin{document}
Consider the following:
\[
A_f = R\indices{_\mu^{\sigma\nu}}
\]
\end{document}
leads to the following error messages:
! Package tensor Error: Sub/Superscript items out of order on input line 9,
(tensor) some index tokens may now have been lost.
See the tensor package documentation for explanation.
Type H <return> for immediate help.
...
l.9 A_f = R\indices{_\mu^{\sigma\nu}}
?
However, the code compiles perfectly fine if
- one uses
\usepackage{newtxmath}
, i.e., withoutsubscriptcorrection
; OR - one uses
\usepackage[lite]{mtpro2}
; OR - one uses
\usepackage[lite,subscriptcorrection]{mtpro2}
.
What is going on here? Is there a fix to this problem?
Added: I have noticed that both newtxmath
and mtpro2
implement subscriptcorrection
by making the underscore _
active (although it is more likely that newtxmath
is inspired by mtpro2
).
P.S. The working output if one uses \usepackage[lite,subscriptcorrection]{mtpro2}
: