Related Articles

Related Articles

Relational Operators in LaTeX
  • Last Updated : 21 Jun, 2020

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.
So let’s see, the LaTeX code of Relational Operators one by one.

Relational Operator and their Latex Code –

TERM SYMBOL LATEX 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

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
Recommended Articles
Page :