# physics/vectorarrow-to-va

Collapse vectorarrow to the short va helper.

https://texform.dev/rules/physics/vectorarrow-to-va

## Metadata

| Field | Value |
| --- | --- |
| Key | physics/vectorarrow-to-va |
| Level | authoring |
| Fidelity | render |
| Enabled by packages | physics |
| Profiles | Authoring, Faithful, Corpus, Equiv |

## Rewrite patterns

### vectorarrow

From:

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

To:

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

### vectorarrow-star

From:

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

To:

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

## Examples

Examples show the rule in isolation, not a complete normalization profile.

### vectorarrow trajectory

Before:

```latex
\vectorarrow{r}(t)=\vb{r}_0+t\vb{v}
```

After this rule:

```latex
\va{r}(t)=\vb{r}_0+t\vb{v}
```

Packages: base, physics.

Rendering verified with the declared packages.

### vectorarrow star bold italic

Before:

```latex
\vectorarrow*{\alpha}+\vectorarrow*{p}
```

After this rule:

```latex
\va*{\alpha}+\va*{p}
```

Packages: base, physics.

Rendering verified with the declared packages.

## Triggers

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

## Eliminates

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

## Produces

- [\\va](https://texform.dev/latex/commands/va)

## Downstream

- [physics/va-to-vec-mathbf](https://texform.dev/rules/physics/va-to-vec-mathbf): Canonicalize va to an explicit vec-wrapped mathbf form.

## Same family

- [physics/derivative-to-dv](https://texform.dev/rules/physics/derivative-to-dv): Collapse derivative to the compact dv command.
- [physics/functional-derivative-to-fdv](https://texform.dev/rules/physics/functional-derivative-to-fdv): Collapse long functional derivative names to the fdv command.
- [physics/partial-derivative-to-pdv](https://texform.dev/rules/physics/partial-derivative-to-pdv): Collapse long partial derivative names to the pdv command.
- [physics/vectorbold-to-vb](https://texform.dev/rules/physics/vectorbold-to-vb): Collapse vectorbold to the short vb helper.
- [physics/vectorunit-to-vu](https://texform.dev/rules/physics/vectorunit-to-vu): Collapse vectorunit to the short vu helper.
- [physics/dv-to-frac-d](https://texform.dev/rules/physics/dv-to-frac-d): Expand dv forms to explicit d-based derivative fractions.
- [physics/fdv-to-frac-delta](https://texform.dev/rules/physics/fdv-to-frac-delta): Expand fdv forms to explicit delta-based derivative fractions.
- [physics/pdv-to-frac-partial](https://texform.dev/rules/physics/pdv-to-frac-partial): Expand pdv forms to explicit partial-derivative fractions.
- [physics/va-to-vec-mathbf](https://texform.dev/rules/physics/va-to-vec-mathbf): Canonicalize va to an explicit vec-wrapped mathbf form.
- [physics/vb-to-mathbf](https://texform.dev/rules/physics/vb-to-mathbf): Canonicalize vb to an explicit mathbf wrapper.
- [physics/vu-to-hat-mathbf](https://texform.dev/rules/physics/vu-to-hat-mathbf): Canonicalize vu to an explicit hat-wrapped mathbf form.

## Notes

Star is preserved on the short alias; physics StarMacro propagates it into the nested vb branch used under vec.

## Disable this rule

```python
TransformEngine(profile="corpus", disable_rules=["physics/vectorarrow-to-va"])
```

```javascript
new TransformEngine({ profile: 'corpus', disableRules: ['physics/vectorarrow-to-va'] })
```

[Open in Playground](https://play.texform.dev/?input=%5Cvectorarrow%7Br%7D%28t%29%3D%5Cvb%7Br%7D_0%2Bt%5Cvb%7Bv%7D)
