How can I write a letter under a word. Eg: Assume that I have to write $\textbf{P}$
centered under the word "maximize". When I tried with "_", the output is
\begin{equation}
maximize_{\textbf{P}}
\end{equation}
letterspositioning
How can I write a letter under a word. Eg: Assume that I have to write $\textbf{P}$
centered under the word "maximize". When I tried with "_", the output is
\begin{equation}
maximize_{\textbf{P}}
\end{equation}
Best Answer
You can use
\DeclareMathOperator
, from theamsmath
package; this will give you the proper font and proper spacing. Since your operator should have subscripts placed in "limits" as with\lim
, you need to use the starred form\DeclareMathOperator*
. An example: