The arg max and arg min functions are not standard as math functions in LaTeX. As a result, they are not straightforward to use in Lyx either. However, it is quite simple to do so:
- Add the following code to the LaTeX preamble in Lyx (Document > Settings > LaTeX Preamble):
- When you create a new math field in Lyx, simply type
\argmin. You can follow it by an underscore if you need text below the arg max or arg min functions. This text will be centered across all six letters.
It’s that simple!