How to Add the arg max and arg min Functions to Lyx

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:

  1. Add the following code to the LaTeX preamble in Lyx (Document > Settings > LaTeX Preamble):
  2. When you create a new math field in Lyx, simply type \argmax or \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!

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>