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

Recommended
\neq

Not equal to

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

latex
\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

latex
\documentclass{article}
\begin{document}

If $a \neq b$, then they are not equal.

\end{document}

Frequently Asked Questions about Not Equal (≠)

Which LaTeX code should I use for Not Equal?

For the Not Equal symbol (≠), we recommend using the method marked as "Recommended" above. However, the best method depends on your specific needs:

  • \neq: Not equal to

Where can I use the Not Equal symbol?

The Not Equal symbol (≠) is typically used:

  • In mathematical equations (math mode)
  • In regular text (if supported)
  • In various LaTeX environments

Can I use the Not Equal symbol in display mode?

Yes, the Not Equal symbol (≠) works in display mode (between $$ $$). This allows you to render the symbol on its own line with better visibility.

🔗 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

Try Converter Now →