Physics: quantities\qty

\qtyCommand

Used as the short physics-package form of \quantity for automatic bracing around the following paired-delimiter expression.

\qty
Available in
physics
Kind
prefix
Allowed mode
math
Frequency
Not measured
Commonality
medium
Renderer support
PackageMathJaxKaTeXXeTeX
physicsMathJax: FullKaTeX: NoneXeTeX: Full
About the test scope

Syntax#

\qtyd<(,)><[,]><{,}><|,|>(a)optional math content

Argspec d<(,)><[,]><{,}><|,|> — one optional argument. Reading argspecs

Examples#

\qty(a)
\qty[a]
\qty{a}
\qty|a|

In TeXForm#

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

Equivalent forms#

  • \quantityexact

    MathJax maps both names to the same parse method with the same parameters, including the optional paired-delimiter form and the no-argument fallback.

See also#

Test cases#

physics
InputCaseMathJaxKaTeXXeTeX
\qtyPositive · baselinePassFailPass
\qty (a)Positive · vary:d[0]PassFailPass
All 28 in Physics: quantities