LaTeX sets and logic: list with commands
The number sets are written in blackboard bold with \mathbb{...} from the amssymb package, which only has capital letters. Quantifiers and the empty set are part of LaTeX. The set operations are listed under binary operators and the comparisons, such as subset and element of, under relation symbols.
| Symbol | Command | Name | Package |
|---|---|---|---|
\mathbb{N} | set of natural numbers | amssymb | |
\mathbb{Z} | set of integers | amssymb | |
\mathbb{Q} | set of rational numbers | amssymb | |
\mathbb{R} | set of real numbers | amssymb | |
\mathbb{C} | set of complex numbers | amssymb | |
\mathbb{P} | blackboard bold P (probability, primes) | amssymb | |
\mathbb{E} | blackboard bold E (expected value) | amssymb | |
\mathbb{K} | blackboard bold K (field) | amssymb | |
\mathbb{F} | blackboard bold F (finite field) | amssymb | |
\mathbb{H} | blackboard bold H (quaternions) | amssymb | |
\emptyset | empty set | ||
\varnothing | empty set (circle form) | amssymb | |
\forall | for all (universal quantifier) | ||
\exists | there exists (existential quantifier) | ||
\nexists | there does not exist | amssymb | |
\neg | logical not | ||
\top | top (true) | ||
\bot | bottom (false) | ||
\complement | complement | amssymb | |
\aleph | aleph | ||
\beth | beth | amssymb | |
\gimel | gimel | amssymb | |
\daleth | daleth | amssymb |