Quotient in LaTeX (A / B)
- LaTeX command
A / B- Package
- No package needed: built into LaTeX
- Mode
- Text and math mode
Where it is used
Quotient of A by B: a group, ring, module or space with B collapsed or factored out.
Quotients appear as \mathbb{Z}/n\mathbb{Z}, G/H for cosets, and X/A for collapsing a subspace to a point. In math mode / is an ordinary symbol with no surrounding space, which is the standard look. For a quotient by an equivalence relation, brace the tilde, X/{\sim}, otherwise \sim gets relation spacing and leaves a gap. With tall operands, \big/ or \left. \middle/ \right. constructions keep the slash in proportion. Do not use \setminus here; that is set difference, a different operation. State which structure the quotient carries, since G/H is only a group when H is normal.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\usepackage{amssymb}
\begin{document}
Quotient: $A / B$
\[ \mathbb{Z}/6\mathbb{Z} \cong \mathbb{Z}/2 \times \mathbb{Z}/3 \]
\end{document}Related symbols
All التوبولوجيا والرياضيات المجردة →Frequently asked questions
- How do I write Quotient in LaTeX?
- Type A / B in math mode, for example $\mathbb{Z}/6\mathbb{Z} \cong \mathbb{Z}/2 \times \mathbb{Z}/3$. It works in plain LaTeX without loading any package.
- Which package do I need for A / B?
- None. A / B is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use A / B in text mode, or only in math mode?
- Both. A / B compiles in running text as well as inside $...$; in a formula keep it in math mode so it gets math fonts and spacing.
أفضل محرر LaTeX بالذكاء الاصطناعي، بديل Overleaf
يساعد Octree الباحثين من أكثر من 15 جامعة على كتابة أوراق البحث بشكل أسرع باستخدام الذكاء الاصطناعي
- أنشئ رسوم TikZ جميلة باستخدام الذكاء الاصطناعي
- ارفع صورة وحولها إلى LaTeX بسلاسة
- احصل على مساعدة فورية في كتابة وتنسيق أوراق البحث