30 commands, each with the package it needs
Abstract
Function names set upright with operator spacing. Anything missing can be declared with \operatorname or \DeclareMathOperator from amsmath. Table 1 lists every symbol of the category with its rendered glyph, the command to type and the package to load; each name links to a page with a worked example, and 3 of them to a note comparing the commands that compile.
| Glyph | Command | Package | Page |
|---|---|---|---|
\sin | none | Sin | |
\cos | none | Cos | |
\tan | none | Tan | |
\arcsin | none | Arcsin | |
\arccos | none | Arccos | |
\arctan | none | Arctan | |
\sinh | none | Sinh | |
\cosh | none | Cosh | |
\tanh | none | Tanh | |
\cot | none | Cot | |
\sec | none | Sec | |
\csc | none | Csc | |
\exp | none | Exp | |
\log | none | Log | |
\ln | none | Ln | |
\det | none | Det | |
\dim | none | Dim | |
\ker | none | Ker | |
\gcd | none | Gcd | |
\deg | none | Deg | |
\arg | none | Arg | |
\hom | none | Hom | |
\operatorname{sgn} | amsmath | Sgn | |
\operatorname{tr} | amsmath | Tr Trace | |
\operatorname{rank} | amsmath | Rank | |
\operatorname{diag} | amsmath | Diag | |
\operatorname{span} | amsmath | Span | |
\operatorname*{argmax} | amsmath | Argmax | |
\operatorname*{argmin} | amsmath | Argmin | |
\operatorname{lcm} | amsmath | LCM |
Table 1. Math operators in LaTeX: glyph, command, package (none means built into LaTeX) and the page for each symbol. Commands go inside math mode unless the page says otherwise.
The same table exists for every family of symbols. To find one by name or by pasting the character, use the symbol search.