Set complement symbol (Aᶜ, A′, Ā) in LaTeX

In mathematics, the complement of A set is denoted in three ways which are: Ac, A′, and Ā. In order to get these symbols in LaTeX you can follow the table below.

Package Command Output
amssymb $A^\complement$ A^\complement
None $A^\prime$ $$ A^\prime $$
None $\overline{A}$ $\overline{A}$
\documentclass{article}
\usepackage{amssymb}
\begin{document}

  $$ (A \cup B)^\complement = A^\complement \cap B^\complement $$
  $$ (A \cup B)^\prime = A^\prime \cap B^\prime $$
  $$ \overline{(A \cup B)} = \overline{A} \cap \overline{B} $$

\end{document}

Output:

All complement symbol in LaTeX.

Set Complement (∁) symbol with other packages

This set of complement symbols is also printed by other packages, but the output may be slightly different.

Package Command Output
amssymb $A^\complement$ A^\complement
None $A^\mathsf{c}$ $A^\mathsf{c}$
mathabx $A^\complement$ $A^\complement$
mathabx $A^{\bigcomplementop}$ $A^{\bigcomplementop}$
fdsymbol $A^\complement$ $A^\complement$
boisik $A^\complement$ $A^\complement$
stix $A^\complement$ $A^\complement$

Leave a Reply

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