Manifold in LaTeX (\mathcal{M})

M\mathcal{M}
LaTeX command
\mathcal{M}
Package
No package needed: built into LaTeX
Mode
Math mode only

Where it is used

Calligraphic M, the standard way to name a smooth manifold in differential geometry and topology papers.

Writing \mathcal{M} instead of a plain italic M signals that the object is a space rather than a matrix or a number, which helps when M is already taken. Charts are written \varphi: U \subseteq \mathcal{M} \to \mathbb{R}^n and the dimension as \dim \mathcal{M} = n. The same letter also names Kripke models in logic and moduli spaces in algebraic geometry, so define it once in the text. \mathcal only has reliable glyphs for uppercase Latin letters; for a curlier script M use \mathscr{M}, and keep one style throughout a paper.

Minimal compilable example

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

φ ⁣:U⊆M→Rn\varphi\colon U \subseteq \mathcal{M} \to \mathbb{R}^n
\documentclass{article}
\usepackage{amssymb}
\begin{document}
Manifold: $\mathcal{M}$

\[ \varphi\colon U \subseteq \mathcal{M} \to \mathbb{R}^n \]
\end{document}

Related symbols

All 微分幾何 →

Frequently asked questions

How do I write Manifold in LaTeX?
Type \mathcal{M} in math mode, for example $\varphi\colon U \subseteq \mathcal{M} \to \mathbb{R}^n$. It works in plain LaTeX without loading any package.
Which package do I need for \mathcal{M}?
None. \mathcal{M} is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \mathcal{M} in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\mathcal{M}$ in running text.
Math poweredAIでLaTeXを書く

最高のAI LaTeXエディタ、Overleaf代替

Octreeは15以上の大学の研究者がAIを使って論文をより速く書くのを支援

  • AIで美しいTikZダイアグラムを生成
  • 画像をアップロードしてシームレスにLaTeXに変換
  • 論文の執筆とフォーマットに即座にサポートを取得