15 commands, each with the package it needs
Abstract
Quantifiers, connectives and turnstiles. The quantifiers and connectives are built in; \nexists, \therefore and \vDash need amssymb. 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 1 of them to a note comparing the commands that compile.
| Glyph | Command | Package | Page |
|---|---|---|---|
\forall | none | For all | |
\exists | none | Exists | |
\nexists | amssymb | Nexists | |
\neg | none | Neg | |
\land | none | Land | |
\lor | none | Lor | |
\top | none | Top | |
\bot | none | Bot | |
\therefore | amssymb | Therefore | |
\because | amssymb | Because | |
\lozenge | amssymb | Lozenge | |
\square | amssymb | Square | |
\Dashv | fdsymbol | Dashv | |
\vDash | amssymb | Double turnstile | |
\Vdash | amssymb | Forces symbol |
Table 1. Logic symbols 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.