How to Write the Neither a Subset of Nor Equal To Symbol (⊈) in LaTeX

In LaTeX, you can write the neither a subset of nor equal to symbol (⊈) using the \nsubseteq command. This command is part of the amssymb package, so you need to include this package in LaTeX document.

The following examples show how to write the neither a subset of nor equal to symbol in LaTeX.

How to Write the Neither a Subset of Nor Equal To Symbol in Text

We can use the \nsubseteq command to write the neither a subset of nor equal to symbol in LaTeX document for text.

Suppose we want to write the neither a subset of nor equal to symbol in the text.

We can use the following LaTeX code to do so:

\documentclass{article}
\usepackage{amssymb}
\begin{document}

This is an example of using the neither a subset of nor equal to symbol \( A \nsubseteq B \) in a sentence.

\end{document}

Output: 👇️

This is an example of using the neither a subset of nor equal to symbol A ⊈ B in a sentence.

In this example, we use the \nsubseteq command to display the neither a subset of nor equal to symbol in the text.

How to Write the Neither a Subset of Nor Equal To Symbol in Mathematical Expressions

For mathematical expressions, We can use the \nsubseteq command to ensure proper formatting.

Suppose we would like to write mathematical expressions that contain the neither a subset of nor equal to symbol.

We can use the following LaTeX code to do so:

\documentclass{article}
\usepackage{amssymb}
\begin{document}

An inline mathematical expression: \( A \nsubseteq B \).

A displayed mathematical expression:
\[
A \nsubseteq B
\]

\end{document}

Output: 👇️

Neither a Subset of Nor Equal To Symbol

In this example, we use the \nsubseteq command to denote the neither a subset of nor equal to symbol in both inline and displayed mathematical expressions.

Conclusion

We can use the \nsubseteq command from the amssymb package for both text and mathematical expressions.

This ensures that the neither a subset of nor equal to symbol is properly formatted and displayed in LaTeX document.