LaTeX 中的量词是 \forall(任意,∀)和 \exists(存在,∃),两者都是内置的;表示“不存在”的 \nexists 来自 amssymb,唯一存在写作 \exists!。量化命题通常把它们与属于符号 \in 以及逗号或冒号等分隔符组合使用:\forall x \in \mathbb{R},\ x^2 \geq 0。否定是 \neg,蕴含和等价是 \implies 和 \iff。下表列出了最常用的量词符号及各自所需的宏包;完整列表见下方。
| 符号 | 命令 | 用途 | 宏包 | 复制 |
|---|---|---|---|---|
\forall | 任意(对所有) | 内置 | ||
\exists | 存在 | 内置 | ||
\nexists | 不存在 | amssymb | ||
\exists! | 存在唯一 | 内置 | ||
\forall x \in A | 对 A 中所有 x | 内置 | ||
\in | 属于 | 内置 | ||
\notin | 不属于 | 内置 | ||
\neg | 非 | 内置 | ||
\land | 与 | 内置 | ||
\lor | 或 | 内置 | ||
\implies | 蕴含 | amsmath | ||
\iff | 当且仅当 | 内置 |
\forall\exists\nexists\exists!\in\notin\ni\forall x\exists x\forall x \in A\exists x \in A\mid\{ x \mid P(x) \}\forall x \exists y : P(x, y)