How to write ¬ (logical not) in LaTeX
Use \neg in math mode — between $…$ in a document, or directly in the editor above.
| LaTeX command | \neg |
|---|---|
| Symbol | ¬ |
| Unicode | U+00AC |
| HTML entity | ¬ |
| Notes | Also \lnot |
Example
\neg (p \land q) \iff \neg p \lor \neg q
The editor above is pre-filled with this example — tweak it and export it as PNG, SVG or a Word equation.
More sets & logic
| Symbol | Command |
|---|---|
| ∈ | \in |
| ∉ | \notin |
| ⊂ | \subset |
| ⊆ | \subseteq |
| ∪ | \cup |
| ∩ | \cap |
| ∅ | \emptyset |
| ℝ | \mathbb{R} |
| ∀ | \forall |
| ∃ | \exists |
| ∴ | \therefore |
| ∧ | \land |


