The LaTeX command for varphi (φ) is \varphi (variant phi (script)).
\varphiWriting a paper? The table generator and the BibTeX cleaner are one click away, no account.
| Command | Package | Use it when |
|---|---|---|
\varphi recommended | none | Loopy phi, the usual one in most texts. |
\phi | none | Straight-stroke phi. |
\upvarphi | upgreek | Upright loopy phi. |
\varnothing | amssymb | The empty set, round form: not a phi. |
Write \varphi inside math mode, that is between $…$ for inline math or in a \[ … \] or equation block for display math. It is part of core LaTeX math, so no extra package is required.
$\varphi(n) = n \prod_{p \mid n} \left(1 - \frac{1}{p}\right)$Open this example in the live preview: it renders as you type, with no compiler and no signup.
\phi (ϕ)\emptyset (∅): empty set\varnothing (∅): variant empty set (preferred)Lowercase Greek letters in LaTeX: the full table or search all 350+ LaTeX symbols.
Use \varphi in math mode; it needs no extra package. For example, $\varphi(n) = n \prod_{p \mid n} \left(1 - \frac{1}{p}\right)$.
None: \varphi is built into LaTeX, so no extra package is required.
Neither \varphi nor \phi is the empty set: write \emptyset or \varnothing.