Fonts and styles\cal

\calCommand

Changes the font of subsequent characters in the current group to calligraphic.

x \cal y
Available in
base, textmacros
Kind
declarative
Allowed mode
math, text
Frequency
1.55% of corpus formulasrank 37 of 263
Commonality
high
Tags
presentation, discouraged
Renderer support
PackageMathJaxKaTeXXeTeX
baseMathJax: FullKaTeX: FullXeTeX: Full
textmacrosMathJax: FullKaTeX: FullXeTeX: Full
About the test scope

Syntax#

\cal

Takes no arguments. Same argspec in base and textmacros. Reading argspecs

Common tasks#

How to switch into calligraphic letters#

Legacy switch; prefer \mathcal{L} for a single identifier.

{\cal L}(f)

How to write a calligraphic family of sets#

{\cal F} \subset {\cal P}(X)

Examples#

base

{x \cal y} z

textmacros

\text{\cal A}

Package variants#

PackageSignatureAllowed modeNotes
basemathChanges the font of subsequent characters in the current group to calligraphic.
textmacrostextLegacy declaration that switches following text to a calligraphic-style variant until the current group ends.

In TeXForm#

TeXForm parses this entry as declarative syntax; the package determines its argument specification.

Equivalent forms#

  • \mathcal{#1}approximate

    Prefix command alternative for math mode

  • \mathcal{...}approximate

    \mathcal is a command with arguments, whereas \cal is declarative.

See also#

Test cases#

base
InputCaseMathJaxKaTeXXeTeX
{\cal a}Positive · baselinePassPassPass
textmacros
InputCaseMathJaxKaTeXXeTeX
{\cal a}Positive · baselinePassPassPass
All 80 in Fonts and styles