Skip to content
latexci
PreviewDiffWord → LaTeXBibTeXSymbolsTableTemplatesAcademics
Sign inFree
PreviewDiffWord → LaTeXBibTeXSymbolsTableTemplatesAcademicsFree
Discord community ↗GitHub ↗
Sign in
LaTeX symbols›Misc Math›Calligraphic L

Calligraphic L in LaTeX

The LaTeX command for mathcal L (ℒ) is \mathcal{L} (Lagrangian / Laplace transform).

L\mathcal{L}L
\mathcal{L}
Misc Math · Unicode ℒ (U+2112) · no package needed

Writing a paper? The table generator and the BibTeX cleaner are one click away, no account.

Which command should you use?

CommandPackageUse it when
\mathcal{L} recommendednoneLagrangian, loss function, Laplace transform.
\mathscr{L} mathrsfsScript L, more ornate.
\ell noneScript lowercase l, e.g. a loss per example.
\mathcal{L}(\theta) noneA loss as a function of the parameters.
Table 1. Ways to write mathcal L in LaTeX. Every line was compiled with pdfLaTeX (TeX Live 2026) loading only the package shown.
Common mistake. \mathcal only has capitals: \mathcal{l} prints a wrong glyph. For a lowercase script l use \ell.

How to type Calligraphic L

Write \mathcal{L} inside math mode, that is between $…$ for inline math or in a \[ … \] or equation block for display math. It is part of core LaTeX math, so no extra package is required.

Example
$\mathcal{L}(\theta) = -\sum_{i=1}^{n} \log p_\theta(x_i)$L(θ)=−∑i=1nlog⁡pθ(xi)\mathcal{L}(\theta) = -\sum_{i=1}^{n} \log p_\theta(x_i)L(θ)=−i=1∑n​logpθ​(xi​)

Open this example in the live preview: it renders as you type, with no compiler and no signup.

Related Misc Math symbols

∠\angle∡\measuredangle△\triangle⋄\diamond⊙\bigodot⊕\bigoplus⊗\bigotimesℋ\mathcal{H}ℱ\mathcal{F}𝒜\mathcal{A}ℬ\mathcal{B}𝒞\mathcal{C}𝒟\mathcal{D}𝒢\mathcal{G}

More math symbols in LaTeX: the full table or search all 350+ LaTeX symbols.

FAQ

How do you write mathcal L (ℒ) in LaTeX?

Use \mathcal{L} in math mode; it needs no extra package. For example, $\mathcal{L}(\theta) = -\sum_{i=1}^{n} \log p_\theta(x_i)$.

Which package provides \mathcal{L}?

None: \mathcal{L} is built into LaTeX, so no extra package is required.

What is the most common mistake with mathcal L in LaTeX?

\mathcal only has capitals: \mathcal{l} prints a wrong glyph. For a lowercase script l use \ell.

latexci

Free LaTeX tools for researchers and students, in any browser. No paid plan, no advertising.

Star on GitHubBuy me a coffee

Tools

Live PreviewBibTeX ToolsDOI → BibTeXarXiv → BibTeXPubMed → BibTeXISBN → BibTeXLaTeX DiffWord → LaTeXSymbol SearchTable GeneratorTemplatesCV Generator

Learn

Academics hubLife after OverleafFreeGitHub

Community

DiscordGitHub IssuesFeature Requests

© 2026 latexci. By Sitraka Forler, sitraka.lu

PrivacyTerms