Physics: derivatives\var

\varCommand

Typesets a variation symbol for variational calculus or functional-variation notation, optionally with an order in brackets and with an attached braced or parenthesized quantity.

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

Syntax#

\varo[a]optional math contentd<(,)><{,}>(b)optional math content

Argspec o d<(,)><{,}> — two optional arguments. Reading argspecs

Examples#

\var[n]{q}
\var(q)

In TeXForm#

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

Equivalent forms#

  • \variationexact

    Mapped to the same Differential parse method with the same operator parameter.

See also#

Test cases#

physics
InputCaseMathJaxKaTeXXeTeX
\varPositive · baselinePassFailPass
\var[a]Positive · vary:o[0]PassFailPass
\var (a)Positive · vary:d[1]PassFailPass
\var[a](b)Positive · maximalPassFailPass
All 14 in Physics: derivatives