Tautology (verum, top) in LaTeX (\top)
- LaTeX command
\top- Package
- No package needed: built into LaTeX
- Mode
- Math mode only
- Copy the Unicode character
- ⊤
U+22A4
Where it is used
Down tack (top) symbol: verum, the always-true proposition, and the greatest element of a lattice.
In logic \top is a tautology, the identity for conjunction (p \land \top \equiv p). Lattices and domain theory use it for the top element, and type theory for the unit type. It is also widely used as a superscript for matrix transpose, A^\top, as an alternative to A^T or A^\intercal. \top is an ordinary symbol. Do not confuse it with the letter T, which sits on the baseline with different proportions. Its dual is \bot.
Also listed under: Aljabar Boolean
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\begin{document}
Tautology (verum, top): $\top$
\[ p \lor \neg p \equiv \top \]
\end{document}Related symbols
- Square
\square - Contradiction (falsum, bottom)
\bot - Equivalent
\equiv - Because
\because - Not Equivalent
\not\equiv - Therefore
\therefore
Frequently asked questions
- How do I write Tautology (verum, top) in LaTeX?
- Type \top in math mode, for example $p \lor \neg p \equiv \top$. It works in plain LaTeX without loading any package.
- Which package do I need for \top?
- None. \top is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use \top in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\top$ in running text. If you only need the glyph in text, paste the Unicode character ⊤ instead (with XeLaTeX or LuaLaTeX and a font that has it).
Math poweredTulis LaTeX menggunakan AI
Editor LaTeX AI Terbaik, Alternatif Overleaf
Octree membantu peneliti dari 15+ universitas menulis makalah penelitian lebih cepat menggunakan AI
- Hasilkan diagram TikZ yang indah menggunakan AI
- Unggah gambar dan konversi ke LaTeX dengan mulus
- Dapatkan bantuan instan untuk menulis dan memformat makalah penelitian