Physics: vectors\va

\vaCommand

Shorthand physics-package command for a bold vector with an arrow accent.

\va{v}
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#

\vas*starm{a}math content

Argspec s m — one optional and one mandatory argument. Reading argspecs

Examples#

\va*{v}

In TeXForm#

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

Expands to#

\va{#1} \vec{\vb{#1}}

If the optional star is present, the template parts are joined with '*', so \va*{#1} reparses as \vec{\vb*{#1}}.

physics/va-to-vec-mathbffrom Faithfulrender

Canonicalize va to an explicit vec-wrapped mathbf form.

\va{#1} \vec{\mathbf{#1}}

Equivalent forms#

  • \vectorarrow{#1}exact
  • \vectorarrow*{#1}exact

    Starred long-form equivalent.

  • \vec{\vb{#1}}exact
  • \vec{\vb*{#1}}exact

    Starred form.

See also#

Test cases#

physics
InputCaseMathJaxKaTeXXeTeX
\va{a}Positive · baselinePassFailPass
\va*{a}Positive · vary:s[0]PassFailPass
\va aPositive · bare[1]PassFailPass
All 10 in Physics: vectors