答案1
这是显示数学中的默认行为。如果您也希望在内联数学中使用它,则可以使用\limits
,但这会弄乱您的行距,因此我不建议这样做。
\documentclass{article}
\begin{document}
Display math:
\[
\max_{1 \leq k \leq m} S_k = S_{k_0}
\]
Inline math: \(\max_{1 \leq k \leq m} S_k = S_{k_0}\)
Inline math with \verb|\limits|: \(\max\limits_{1 \leq k \leq m} S_k = S_{k_0}\)
Note, however, that this does not look very nice inside a paragraph.
\end{document}