答案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}