
答案1
答案2
只需將\underset
部分放入 的參數中即可\overset
:
\documentclass{article}
\usepackage{mathtools}
\begin{document}
\[
\hat{y} = \hat{f}(x) = \overset{C}{\underset{c=1}{argmax}}\> p(y = c|x, D)
\]
\end{document}
編輯:另外,argmax 排版不正確,它是一個運算符,不應該用傾斜的字母呈現。