
решение1
Поскольку код иногда проще объяснения, я преобразую свой комментарий непосредственно в ответ. Возможно, OP сможет прокомментировать, в чем проблема с этим подходом.
\documentclass[12pt]{article}
\begin{document}
Combine the subscript with the math term. Also, use upright for terms
that are not explicit variables. I might use $\phi_{\mathrm{SB},P}$
if P were a variable, or $\phi_\mathrm{SB,P}$ if it were not.
\end{document}