How to denote subset(⊂,⊆, and ⊈) in LaTeX?

In this tutorial, we will cover how to denote a subset using Latex.

With subsets we use non subset, super subset and non super subset. And it is very important for you to know how to represent these symbols with the help of latex.

So, take a look at this table below. Here is the list of latex commands.

Set symbol Command
Subset \subseteq
Not subset \nsubseteq
Proper subset \subset
Not Proper subset \not\subset

Subset and non subset symbol in LaTeX

Mathematically, you need to use symbol to represent subset.

Properties Value
Symbol Subset
Argument No
Command \subseteq
Example \subseteq → ⊆

You need to use \subseteq command to identify subset symbols without installing any packages using Latex.

\documentclass{article}
\begin{document}
   $a \subseteq b$
\end{document}

Output :

A subset of B.

Second, you need to use \nsubseteq command for non-subset symbols.

Properties Value
Symbol Not Subset
Argument No
Command \nsubseteq
Example \nsubseteq → ⊈

Suppose two sets a and b are taken here. And the number of elements of a is less than b and unequal.

\documentclass{article}
\begin{document}
   $a \nsubseteq b$
\end{document}

Output :

A not subset of B.

Each set is its own subset

\documentclass{article}
\begin{document}
   $P \subseteq P$
\end{document}

Output :

P subset of P.

Proper subset and non proper subset symbol in LaTeX

Proper subset is not a separate concept, it is a part of subset. In latex, the proper subset symbol is represented by ⊂ symbol.

\documentclass{article}
\begin{document}
   $a \subset b$
\end{document}

Output :

A poper subset of B.

If you look at the program above, you will understand that \subset command has been used for the proper subset symbol.

In the same way, for not proper subset you need to use both \not and \subset commands together.

\documentclass{article}
\begin{document}
   $a \not \subseteq b$
\end{document}

Output :

A not poper subset of B.

Latex subset with not equal symbol

Suppose, p is a subset of q but p is not equal to q. In that case, unequal symbols are used with subset symbols. For example, take a look at the following program.

\documentclass{article}
\usepackage{amssymb}
\begin{document}
  \[ P \subsetneq Q \]
  \[ P \subsetneqq Q \]
\end{document}

Output :

Subset with not equal symbol.

In this case, you need to use amssymb package. And before the document starts, you need to define the package and use \usepackage command.

Md Jidan Mondal

LaTeX expert with over 10 years of experience in document preparation and typesetting. Specializes in creating professional documents, reports, and presentations using LaTeX.

Leave a Comment

Your email address will not be published. Required fields are marked *