答案1
您可以将符号左侧的所有内容粘贴到包装器=
中\mathllap
,将符号右侧的所有内容粘贴到包装器=
中\mathrlap
。\mathllap
和\mathrlap
(和\mathclap
也是)是包提供的宏mathtools
,是包的超集amsmath
。
下图中的框线表示文本块的左边缘和右边缘。
\documentclass{article} % or some other suitable document class
\usepackage{mathtools} % for \mathllap and \mathrlap macros
\usepackage{showframe} % draw framelines around text block
\begin{document}
% original form of equation
\begin{equation}
J_i
=
\frac{J_i'}{\prod\limits_i^{n-1} N_i} \qquad i=\{2,3,\dots,n-1\}
\end{equation}
% with \mathllap and \mathrlap
\begin{equation}
\mathllap{J_i}
=
\mathrlap{\frac{J_i'}{\prod\limits_i^{n-1} N_i} \qquad i=\{2,3,\dots, n-1\}}
\end{equation}
\end{document}