# How to denote subset(⊆) 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.

## Commands for Set Relationships

In LaTeX, we use specific commands to represent different set relationships. The table below lists these commands, which you can use to easily show various set relationships.

It’s very important to use the correct commands because using the wrong ones can result in incorrect expressions or relationships.

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.

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 :

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

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 \nsubseteq b$$

Each set is its own subset

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

Output :

## 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 :

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 :

## 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 :

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.