# How to write maximize/minimize over condition in inline math mode [duplicate]

I'd like know how to write max/min over condition in inline math mode (i.e. \$...\$). So far I found only the way to write it in the equation block (i.e. begin{equation}.....end{equation}) and in the display math mode (i.e. \[....\]).

• Have you tried `\$\max\limits_{<condition>} <expression whose value is to be maximized>\$`? – Mico Jan 17 at 11:44
• Thank you very much for your solution @Mico it works very well – Gennaro Arguzzi Jan 17 at 11:46

## 1 Answer

A solution is:

``````\$\underset{k}{\max}\$
``````