Less Than or Equal in LaTeX (\leq)

≤\leq
LaTeX command
\leq
Package
No package needed: built into LaTeX
Mode
Math mode only
Copy the Unicode character
≤U+2264

Where it is used

Expresses that the left side is less than or equal to the right side.

\leq has a shorter alias \le, and both print the same glyph with a single horizontal bar. Typing <= in math mode gives two separate symbols, so always use the command. Inequalities such as the triangle inequality \|x+y\| \leq \|x\|+\|y\| and bounds like 0 \leq p \leq 1 are its daily work. The slanted variant \leqslant is preferred in some European and Russian traditions, and \leqq has a double bar. In order theory and lattices, \leq names a partial order, while \preceq is used for more general preorders.

Also listed under: العلاقات والمقارنات, عدم المساواة والترتيب

Minimal compilable example

Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.

0≤P(A)≤10 \leq P(A) \leq 1
\documentclass{article}
\begin{document}
Less Than or Equal: $\leq$

\[ 0 \leq P(A) \leq 1 \]
\end{document}

Related symbols

All الرموز الرياضية →

Frequently asked questions

How do I write Less Than or Equal in LaTeX?
Type \leq in math mode, for example $0 \leq P(A) \leq 1$. It works in plain LaTeX without loading any package.
Which package do I need for \leq?
None. \leq is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \leq in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\leq$ 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 poweredاكتب LaTeX باستخدام الذكاء الاصطناعي

أفضل محرر LaTeX بالذكاء الاصطناعي، بديل Overleaf

يساعد Octree الباحثين من أكثر من 15 جامعة على كتابة أوراق البحث بشكل أسرع باستخدام الذكاء الاصطناعي

  • أنشئ رسوم TikZ جميلة باستخدام الذكاء الاصطناعي
  • ارفع صورة وحولها إلى LaTeX بسلاسة
  • احصل على مساعدة فورية في كتابة وتنسيق أوراق البحث