\min minimum in LaTeX
| Command | \min |
|---|---|
| Mode | math |
| Package | none, part of LaTeX |
| Kind | Function names |
\min typesets the symbol “minimum”. It is a function name set in upright type.
Try it
Open this formula in the editor The preview is drawn in your browser by KaTeX, which knows the common math commands. The editor compiles the formula with pdfTeX.
Example
\documentclass{article}
\begin{document}
\( \min_{x \in A} f(x) \)
\end{document}Compiled with pdfLaTeX from TeX Live 2023.
How to use it
\min works only in math mode. In running text, put it between $...$ or \(...\). Outside math mode LaTeX stops with Missing $ inserted. The command is part of LaTeX; you need no package.
About function names
Typing sin x in math mode prints three italic variables s, i and n. \sin prints the name upright and puts a thin space between it and its argument. For a name LaTeX does not define, declare your own with \DeclareMathOperator from amsmath.