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: Boolean Algebra
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).
Pinakamahusay na AI LaTeX Editor, Alternatibo sa Overleaf
Tinutulungan ng Octree ang mga researcher mula sa 15+ na unibersidad na sumulat ng research papers nang mas mabilis gamit ang AI
- Gumawa ng magagandang TikZ diagrams gamit ang AI
- Mag-upload ng larawan at i-convert ito sa LaTeX nang walang problema
- Makakuha ng instant na tulong sa pagsulat at pag-format ng research papers