Subset in LaTeX (\subset)

⊂\subset
LaTeX command
\subset
Package
No package needed: built into LaTeX
Mode
Math mode only
Copy the Unicode character
⊂U+2282

Where it is used

Shows that one set is contained in another; often read as proper or strict subset.

Conventions differ: some authors use \subset for any subset, others reserve it for proper subsets and use \subseteq when equality is allowed. To be unambiguous, many papers write \subseteq for "subset or equal" and \subsetneq for "proper subset", and state the convention once. The reversed relation is \supset. Typical statements include \mathbb{N} \subset \mathbb{Z} \subset \mathbb{Q} and subspace inclusions in linear algebra. The negation \not\subset works, and \nsubseteq gives a cleaner negated subset-or-equal glyph. Whichever reading you adopt, avoid switching between the two within one document.

Also listed under: العلاقات والمقارنات, نظرية المجموعات

Minimal compilable example

Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.

N⊂Z⊂Q⊂R\mathbb{N} \subset \mathbb{Z} \subset \mathbb{Q} \subset \mathbb{R}
\documentclass{article}
\usepackage{amssymb}
\begin{document}
Subset: $\subset$

\[ \mathbb{N} \subset \mathbb{Z} \subset \mathbb{Q} \subset \mathbb{R} \]
\end{document}

Related symbols

All الرموز الرياضية →

Frequently asked questions

How do I write Subset in LaTeX?
Type \subset in math mode, for example $\mathbb{N} \subset \mathbb{Z} \subset \mathbb{Q} \subset \mathbb{R}$. It works in plain LaTeX without loading any package.
Which package do I need for \subset?
None. \subset is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \subset in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\subset$ in running text. If you only need the glyph in text, paste the Unicode character ⊂ instead (with XeLaTeX or LuaLaTeX and a font that has it).
Math poweredاكتب LaTeX باستخدام الذكاء الاصطناعي

أفضل محرر LaTeX بالذكاء الاصطناعي، بديل Overleaf

يساعد Octree الباحثين من أكثر من 15 جامعة على كتابة أوراق البحث بشكل أسرع باستخدام الذكاء الاصطناعي

  • أنشئ رسوم TikZ جميلة باستخدام الذكاء الاصطناعي
  • ارفع صورة وحولها إلى LaTeX بسلاسة
  • احصل على مساعدة فورية في كتابة وتنسيق أوراق البحث