The Wayback Machine - https://web.archive.org/web/20240204103215/https://www.geeksforgeeks.org/relational-operators-in-latex/
Open In App
Related Articles

Relational Operators in LaTeX

Improve
Improve
Improve
Like Article
Like
Save Article
Save
Report issue
Report

Relational Operator are used for comparison of two values to understand the type of relationship a pair of number shares. For example, less than, greater than, equal to etc.

For eg != means not equal to but in maths we write it as.
\neq
So let’s see, the LaTeX code of Relational Operators one by one.

Relational Operator and their Latex Code –

TERM SYMBOL LATEX
1.is less than < <
2. is greater than > >
3. is not less than \nless \nless
4. is not greater than \ngtr \ngtr
5. is less than or equal to \leq \leq
6. is greater than or equal to \geq \geq
7. is less than or equal to \leqslant \leqslant
8. is greater than or equal to \geqslant \geqslant
9. is neither less than nor equal to \nleq \nleq
10. is neither less than nor equal to \ngeq \ngeq
11. is neither less than nor equal to \nleqslant  \nleqslant
12. is neither greater than nor equal to \ngeqslant \ngeqslant
13. is a proper subset of \subset  \subset
14. is a proper superset of \supset  \supset
15. is not a proper subset of \not\subset  \not\subset
16. is not a proper superset of \not\supset \not\supset
17. is a subset of \subseteq \subseteq
18. is a superset of \supseteq \supseteq
19. is not a subset of \nsubseteq \nsubseteq
20. is not a superset of \nsubseteq \nsubseteq
21. is equal to = =
22. is equivalent to \equiv \equiv
23. is approximately \approx \approx
24. is congruent to \cong  \cong
25. is similar or equal to \simeq  \simeq
26. is similar to \sim  \sim
27. is proportional to \propto  \propto
28. is not equal to \ne  \ne
29. is parallel with \parallel  \parallel
30. is not parallel with \nparallel  \nparallel
31. is member of \in  \in
32. is not member of \notin  \notin
33. is perpendicular with \perp  \perp


Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!

Looking for a place to share your ideas, learn, and connect? Our Community portal is just the spot! Come join us and see what all the buzz is about!


Last Updated : 21 Jun, 2020
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads