Fonts and styles\mathsf

\mathsfCommand

Used for sans-serif mathematical symbols.

\mathsf x
Available in
base
Kind
prefix
Allowed mode
math
Frequency
0.93% of corpus formulasrank 52 of 263
Commonality
medium
Tags
presentation
Renderer support
PackageMathJaxKaTeXXeTeX
baseMathJax: FullKaTeX: FullXeTeX: Full
About the test scope

Syntax#

\mathsfm{a}math content

Argspec m — one mandatory argument. Reading argspecs

Common tasks#

How to write a sans-serif identifier#

\mathsf{A}

How to write a sans-serif category name#

\mathsf{Set}

How to write sans-serif digits#

\mathsf{GL}_n

In TeXForm#

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

Equivalent forms#

  • \mathsfup{#1}exact

    MathJax maps both commands to the same sans-serif variant.

  • \symsfup{#1}exact

    The upright unicode-math-style alias uses the same variant.

See also#

Test cases#

base
InputCaseMathJaxKaTeXXeTeX
\mathsf{a}Positive · baselinePassPassPass
\mathsf aPositive · bare[0]PassPassPass
All 80 in Fonts and styles