Calligraphic C (category) in LaTeX (\mathcal{C})
- LaTeX command
\mathcal{C}- Package
- No package needed: built into LaTeX
- Mode
- Math mode only
Where it is used
Calligraphic C, the default name for an arbitrary category; also used for constraint or feasible sets.
Category theory writes objects as X \in \mathcal{C} and morphism sets as \operatorname{Hom}_{\mathcal{C}}(X, Y), with a second category usually called \mathcal{D}. Concrete categories are often set in bold or sans serif, such as \mathbf{Set} or \mathsf{Grp}, to separate names from variables. Optimization uses \mathcal{C} for a convex feasible set, as in \min_{x \in \mathcal{C}} f(x). \mathcal provides only uppercase letters in the default fonts; \mathscr gives a curlier script style if you need a second family.
Also listed under: 최적화
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Calligraphic C (category): $\mathcal{C}$
\[ F \colon \mathcal{C} \to \mathcal{D}, \; \operatorname{Hom}_{\mathcal{C}}(X, Y) \]
\end{document}Related symbols
- Calligraphic F (functor)
\mathcal{F} - Cohomology
H^n - Homology
H_n - Fundamental Group
\pi_1 - Quotient
A / B - Star
\star
Frequently asked questions
- How do I write Calligraphic C (category) in LaTeX?
- Type \mathcal{C} in math mode, for example $F \colon \mathcal{C} \to \mathcal{D}, \; \operatorname{Hom}_{\mathcal{C}}(X, Y)$. It works in plain LaTeX without loading any package.
- Which package do I need for \mathcal{C}?
- None. \mathcal{C} is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use \mathcal{C} in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\mathcal{C}$ in running text.
최고의 AI LaTeX 편집기, Overleaf 대안
Octree는 15개 이상의 대학의 연구자들이 AI를 사용하여 논문을 더 빠르게 작성하도록 도움
- AI로 아름다운 TikZ 다이어그램 생성
- 이미지를 업로드하고 LaTeX로 원활하게 변환
- 논문 작성 및 서식에 대한 즉각적인 지원 받기