I would like to create an equation with sigma where the yellow element is under the sigma sign as follows.
Here is the code in overleaf with TeX Live 2022.
\documentclass[journal]{IEEEtran}
\usepackage{mathtools}
\usepackage{amsmath}
\begin{document}
\begin{equation} \footnotesize \label{eq:R5}
R_5(A^\prime_x) = (\frac{1}{1 + \sum_{\tau \in H(A^\prime_x)} \tau} )(n + 2 + |A^\prime_x|)w + (n+2)v + \sum_{P\in A^\prime_x} P) \quad \forall A^\prime_x \in S^\prime \
\end{equation}
\end{document}
Since it is two column format, hence I use footnote font to ensure all the equation within one column. Unfortunately, the result shows that the yellow highlighted element is not under the sigma sigma thus it is over the two columns format as follows.
Is there anyway to make sure that the yellow highlighted element under the sigma sign so that the equation will fit into the format?
Thank you.





\sum\limits_{...}– egreg Mar 09 '23 at 10:07