Spacing\,

\,Command

Adds a thin math space between nearby symbols for fine typographic adjustment in formulas.

\int f(x) \, dx
Topic
Spacing
Available in
base, textmacros
Kind
prefix
Allowed mode
math, text
Frequency
13.92% of corpus formulasrank 3 of 263
Commonality
high
Tags
spacing
Renderer support
PackageMathJaxKaTeXXeTeX
baseMathJax: FullKaTeX: FullXeTeX: Full
textmacrosMathJax: FullKaTeX: FullXeTeX: Full
About the test scope

Syntax#

\,

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

Common tasks#

How to add a thin space in a differential#

\, is the usual thin space before dx, dA, and similar differentials.

\int f(x)\,dx

How to space a sequence of numbers#

1,\,2,\,3,\,\ldots

How to separate juxtaposed units or factors#

3\,\mathrm{km}\,\mathrm{s}^{-1}

Examples#

textmacros

\text{a\,b}

Package variants#

PackageSignatureAllowed modeNotes
basemathAdds a thin math space between nearby symbols for fine typographic adjustment in formulas.
textmacrostextUsed to insert a thin manual space inside text fragments, such as fine separation in abbreviations, number-unit formatting, or other tight spacing adjustments.

In TeXForm#

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

Equivalent forms#

  • \thinspaceexact

    Both base mappings call BaseMethods.Spacer with MATHSPACE.thinmathspace.

  • \thinspaceexact

    In the textmacros mappings, \thinspace is sent to the same Spacer method with the same thin-space width.

See also#

Test cases#

base
InputCaseMathJaxKaTeXXeTeX
\,Positive · baselinePassPassPass
textmacros
InputCaseMathJaxKaTeXXeTeX
\,Positive · baselinePassPassPass
All 32 in Spacing