Rewrite Rulesphysics/vectorbold-to-vb

physics/vectorbold-to-vb

Collapse vectorbold to the short vb helper.

Rewrite patterns#

  1. vectorbold\vectorbold{#1}\vb{#1}
  2. vectorbold-star\vectorbold*{#1}\vb*{#1}

Examples#

Each example shows this rule applied in isolation. A complete normalization profile may make additional changes.

vectorbold newton law#

Before

\vectorbold{F}=m\vb{a}

After this rule

\vb{F}=m\vb{a}

Rendering verified with the declared packages.

vectorbold star bold italic#

Before

\vectorbold*{\alpha}+\vectorbold*{p}

After this rule

\vb*{\alpha}+\vb*{p}

Rendering verified with the declared packages.

Downstream rules#

Same family#

Notes#

Star is preserved on the short alias because physics VectorBold uses it for bold-italic styling and for lowercase Greek handling.

Disable this rule#

TransformEngine(profile="corpus", disable_rules=["physics/vectorbold-to-vb"])
new TransformEngine({ profile: 'corpus', disableRules: ['physics/vectorbold-to-vb'] })

Open in Playground