# \va

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

https://texform.dev/latex/commands/va

## Metadata

| Field | Value |
| --- | --- |
| Topic | [Physics: vectors](https://texform.dev/latex/topics/physics-vectors) |
| Packages | physics |
| Allowed mode | math |
| Tags |  |
| Commonality | low |
| Kind | prefix |

## Syntax

### physics

Argument specification: `s m`

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

## Examples

```latex
\va{v}
```

[Open in Playground](https://play.texform.dev/?input=%5Cva%7Bv%7D)

```latex
\va*{v}
```

[Open in Playground](https://play.texform.dev/?input=%5Cva*%7Bv%7D)

## Renderer support

| Package | MathJax | KaTeX | XeTeX |
| --- | --- | --- | --- |
| physics | full | none | full |

## In TeXForm

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

### Expands to (physics)

```latex
\va{#1}
```

→

```latex
\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-mathbf](https://texform.dev/rules/physics/va-to-vec-mathbf)

Canonicalize va to an explicit vec-wrapped mathbf form.

Level: faithful. Fidelity: render.

```latex
\va{#1}
```

→

```latex
\vec{\mathbf{#1}}
```

```latex
\va{L}=\vb{r}\times\vb{p}
```

→

```latex
\vec{\mathbf{L}}=\vb{r}\times\vb{p}
```

## Equivalent forms

```latex
\vectorarrow{#1}
```

exact. 

```latex
\vectorarrow*{#1}
```

exact. Starred long-form equivalent.

```latex
\vec{\vb{#1}}
```

exact. 

```latex
\vec{\vb*{#1}}
```

exact. Starred form.

## See also

- [\\vectorarrow](https://texform.dev/latex/commands/vectorarrow)
- [\\vectorunit](https://texform.dev/latex/commands/vectorunit)
- [\\vu](https://texform.dev/latex/commands/vu)

## Test cases

### physics

| Input | Case | MathJax | KaTeX | XeTeX |
| --- | --- | --- | --- | --- |
| \va{a} | Positive: baseline | Pass | Fail | Pass |
| \va*{a} | Positive: vary:s[0] | Pass | Fail | Pass |
| \va a | Positive: bare[1] | Pass | Fail | Pass |
