latexmarkdownjupyter-notebooktypesettingmathematical-typesetting

How to typeset argmin and argmax in Markdown?


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?


Solution

  • 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}}$