How to typeset argmin and argmax in Markdown?

Ébe Isaac picture Ébe Isaac · Mar 23, 2016 · Viewed 17.1k times · Source

There are posts in TeX.SE that shows how argmin and argmax with limits can be typesetted using the \DeclareMathOperator* command. But how to do this in Markdown?

I am especially interested in doing this in Jupyter Notebook when I'm documenting in Markdown.

Is this possible?

Answer

Ébe Isaac picture Ébe Isaac · Mar 23, 2016

The way to do this is by using the \underset command.

Syntax:

\underset{<constraints>}{\operatorname{<argmax or argmin>}}

Example:

$\underset{c\in C}{\operatorname{argmax}}$