Precedes or Equal in LaTeX (\preceq)
- LaTeX command
\preceq- Package
- No package needed: built into LaTeX
- Mode
- Math mode only
- Copy the Unicode character
- ⪯
U+2AAF
Where it is used
Precedes-or-equal relation, the non-strict version of \prec for partial and preference orders.
Order theory writes x \preceq y for a general partial order, keeping \le for numbers. Economists use it for weak preference, and matrix analysts write A \preceq B when B - A is positive semidefinite. In convex optimization the generalized inequality x \preceq_K y uses a subscript for the cone. \preccurlyeq looks similar, with a curved lower bar, and some authors prefer it to avoid confusion with \leq. The reverse is \succeq, and \npreceq negates it.
Also listed under: Ketaksamaan & Tertib
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Precedes or Equal: $\preceq$
\[ 0 \preceq A \preceq I \implies \|A\|_2 \le 1 \]
\end{document}Related symbols
All Hubungan & Perbandingan →Frequently asked questions
- How do I write Precedes or Equal in LaTeX?
- Type \preceq in math mode, for example $0 \preceq A \preceq I \implies \|A\|_2 \le 1$. It works in plain LaTeX without loading any package.
- Which package do I need for \preceq?
- None. \preceq is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use \preceq in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\preceq$ 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).
Editor LaTeX AI Terbaik, Alternatif Overleaf
Octree membantu penyelidik dari 15+ universiti menulis kertas penyelidikan dengan lebih cepat menggunakan AI
- Jana diagram TikZ yang cantik menggunakan AI
- Muat naik imej dan tukar ke LaTeX dengan lancar
- Dapatkan bantuan segera untuk menulis dan memformat kertas penyelidikan