loading tool…
The LaTeX command for neg (¬) is \neg — logical negation.
\negWrite \neg inside math mode — that is, between $…$ for inline math or in a \[ … \] / equation block for display math. It is part of core LaTeX math, so no extra package is required.
$p \neg q$Prefer to see it live? Paste it into the LaTeX preview and it renders as you type — no compiler, no signup.
Search all 380+ LaTeX symbols →
Use \neg in math mode — it needs no extra package. For example, $p \neg q$.
None — \neg is built into LaTeX's math mode, so no extra package is required.