Precedes in LaTeX (\prec)
- LaTeX command
\prec- Package
- No package needed: built into LaTeX
- Mode
- Math mode only
- Copy the Unicode character
- ≺
U+227A
Where it is used
Precedes relation for strict orderings that are not ordinary numeric less-than.
\prec writes abstract strict orders: preferences in economics (x \prec y means y is strictly preferred), majorization in matrix analysis, dominance orders on partitions, and the happened-before relation in distributed systems. Its curved shape signals that the order is not numerical <. The non-strict version is \preceq, and \preccurlyeq gives a curly-bar variant favored in some texts. Linear algebra writes A \prec B for the Loewner order, meaning B - A is positive definite. Negations include \nprec.
Also listed under: Ongelijkheden & Ordening
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\begin{document}
Precedes: $\prec$
\[ x \prec y \iff u(x) < u(y) \]
\end{document}Related symbols
- Succeeds
\succ - Much Greater Than
\gg - Precedes or Equal
\preceq - Much Less Than
\ll - Succeeds or Equal
\succeq - Not Parallel
\nparallel
Frequently asked questions
- How do I write Precedes in LaTeX?
- Type \prec in math mode, for example $x \prec y \iff u(x) < u(y)$. It works in plain LaTeX without loading any package.
- Which package do I need for \prec?
- None. \prec is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use \prec in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\prec$ 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).
Beste AI LaTeX Editor, Overleaf Alternatief
Octree helpt onderzoekers van 15+ universiteiten sneller onderzoeksartikelen schrijven met AI
- Genereer mooie TikZ-diagrammen met AI
- Upload afbeelding en converteer naadloos naar LaTeX
- Krijg directe hulp bij het schrijven en opmaken van onderzoeksartikelen