LaTeX Not Equal (≠) - Complete Guide
The not equal symbol (≠) indicates that two values are not equal.
Symbol Preview
Not Equal
LaTeX Code
No package required
\neqNot equal to
Table of Contents
What is the LaTeX Not Equal?
The not equal symbol (≠) is used to express inequality between two quantities. It is the negation of the equals sign.
How to Use Not Equal in LaTeX
Method 1: Using \neq
✅No package required
Not equal to
Example: Using \neq
\documentclass{article}
\begin{document}
% Using the Not Equal
Text with \neq
\end{document}Common Use Cases
The Not Equal symbol is commonly used in the following contexts:
Inequality
Showing two values are different.
Code
$x \neq y$Output
x ≠ y
Complete Examples
Inequality Expression
Not equal expression
\documentclass{article}
\begin{document}
If $a \neq b$, then they are not equal.
\end{document}Frequently Asked Questions
Which method should I use?
We recommend using the method marked as "Recommended" above. However, the best method depends on your specific needs:
- \neq: Not equal to
Where do I use this symbol?
This symbol can be used:
- In mathematical equations (math mode)
- In regular text (if using text mode)
- In various document environments
Can I use this in display mode?
Yes, symbols that work in math mode (between $ $) also work in display mode (between $$ $$). This allows you to display the symbol on its own line with larger formatting.
🔗 Related Symbols You May Need
View all symbols →🎯 Need to Convert PDF to LaTeX?
Our free PDF to LaTeX converter preserves all mathematical symbols and formatting.
✓ Fast & accurate
✓ Preserves symbols
✓ Free online
✓ No registration