latex公式总结(含typora适配)
1. argmin
latex没有直接的argmin命令,定义一个:
\DeclareMathOperator*{\argmax}{arg\,max}
\DeclareMathOperator*{\argmin}{arg\,min}
代码:
\DeclareMathOperator*{\argmax}{arg\,max}
\DeclareMathOperator*{\argmin}{arg\,min}
\argmin_{\theta}
\[\DeclareMathOperator*{\argmax}{arg\,max}
\DeclareMathOperator*{\argmin}{arg\,min}
\argmin_{\theta}
\]
或者
\mathop{\arg\min}_{\theta}
\[\mathop{\arg\min}_{\theta}
\]