
max
次の例では、これを帽子に入力する際に問題が発生します。
答え1
例えば
\[
\max_{j=1}^{|B|}
\]
答え2
egreg の提案に従って、デフォルトで定義されていない数学演算子には を使用できます。または、数学演算子ではない数式テキストをタイプセットする場合は、パッケージの(および) コマンド\operatorname*{...}_{...}^{...}
を使用することもできます。\overset
\underset
AMSmath
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\[
\max_{j=1}^{|B|}
\qquad
\operatorname*{argmax}_{j=1}^{|B|}
\]
\[
\underset{j=1}{\overset{|B|}{math \; texts \; \mbox{and regular texts in math mode}}}
\]
\end{document}