Inequalities in LaTeX

In mathematics, an inequality is a relation which makes a non-equal comparison between two numbers or other mathematical expressions. It is used most often to compare two numbers on the number line by their size. There are several different notations used to represent different kinds of inequalities:

  • The notation a < b means that a is less than b.
  • The notation a > b means that a is greater than b.



Inequalities Symbols and their LaTeX Code :

TERM SYMBOL LATEX
Less than < <
Greater than > >
Less than equal to \leq \leq
Less than with complete equal to sign \leqq \leqq
Less than equal to slant \leqslant \leqslant
Less than similar to \lesssim \lesssim
Less than approximate \lessapprox \lessapprox
Preceeds \prec \prec
Preceeds and equal to \preceq \preceq
Less than greater than \lessgtr \lessgtr
Less than equal to greater than \lesseqgtr \lesseqgtr
Greater than equal to \geq \geq
Greater than with complete equal to sign \geqq \geqq
Greater than equal to slant \geqslant \geqslant
Greater than similar to \gtrsim \gtrsim
Greater than approximate to \gtrapprox \gtrapprox
Succeeds \succ \succ
Succeeds and equal to \succeq \succeq
Succeeds and similar to \succsim \succsim
Not less than \nless \nless
Not greater than \ngtr \ngtr
Not less than equal to \nleq \nleq
Not greater than equal to \ngeq \ngeq
Less than not equal to \lneq \lneq
Greater than not equal to \gneq \gneq
Not less than equal to slant \nleqslant \nleqslant
Not greater than equal to slant \ngeqslant \ngeqslant
Lesser lesser than \ll \ll
Triple lesser than \lll \lll
Greater greater than \gg \gg
Triple greater than \ggg \ggg

Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.




My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.


Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.