Empty set (ø) symbol in LaTeX

Usually in mathematics, the empty set symbol is denoted by the ø symbol or curly bracket {}. In this tutorial, I will show you how to get the empty set symbol in LaTeX with different commands. Also, I will show you other types of empty set symbols.

Default command to get empty set symbol

LaTeX provides you with some default commands by which you can write the empty set symbol into the document. The commands and their outputs are given in the table below.

CommandOutput
\emptyset\emptyset
\O\O
\o\o
\{\}{}

The \O and \o command also works in text mode.

\documentclass{article}
\begin{document}

  $$ |\emptyset| = 0 $$
  $$ |\O| = 0 $$
  $$ |\o| = 0 $$

\end{document}

Output:

 $$ |\emptyset| = 0 $$ $$ |\O| = 0 $$ $$ |\o| = 0 $$

Empty set symbol with packages

You also use packages to get the empty set symbol in LaTeX. I listed all of them.

PackageCommandOutput
amsmath\varnothing\varnothing
stix\emptyset\emptyset
stix\varnothing\varnothing
MnSybol\diameter\diameter

Other types of empty set symbols with stix

The stix package also provides some commands to get different types of empty set symbols.

CommandOutput
\emptysetobar\emptysetobar
\emptysetoarr\emptysetoarr
\emptysetocirc\emptysetocirc
\emptysetoarrl\emptysetoarrl
\revemptyset\revemptyset

Leave a Reply

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