Rewrite patterns#
- vb
\vb{#1}\mathbf{#1} - vb-star
\vb*{#1}\boldsymbol{#1}
Examples#
Each example shows this rule applied in isolation. A complete normalization profile may make additional changes.
vb momentum#
Rendering verified with the declared packages.
vb star bold italic#
Rendering verified with the declared packages.
Related rules#
Upstream rules#
physics/vectorbold-to-vbCollapse vectorbold to the short vb helper.
Same family#
physics/derivative-to-dvCollapse derivative to the compact dv command.physics/functional-derivative-to-fdvCollapse long functional derivative names to the fdv command.physics/partial-derivative-to-pdvCollapse long partial derivative names to the pdv command.physics/vectorarrow-to-vaCollapse vectorarrow to the short va helper.physics/vectorbold-to-vbCollapse vectorbold to the short vb helper.physics/vectorunit-to-vuCollapse vectorunit to the short vu helper.physics/dv-to-frac-dExpand dv forms to explicit d-based derivative fractions.physics/fdv-to-frac-deltaExpand fdv forms to explicit delta-based derivative fractions.physics/pdv-to-frac-partialExpand pdv forms to explicit partial-derivative fractions.physics/va-to-vec-mathbfCanonicalize va to an explicit vec-wrapped mathbf form.physics/vu-to-hat-mathbfCanonicalize vu to an explicit hat-wrapped mathbf form.
Notes#
The star branch is not equivalent to plain mathbf: physics VectorBold uses bold-italic styling and includes lowercase Greek. This rule maps that branch to boldsymbol because it matches the rendered physics output for both Latin and Greek symbols.
Disable this rule#
TransformEngine(profile="corpus", disable_rules=["physics/vb-to-mathbf"])new TransformEngine({ profile: 'corpus', disableRules: ['physics/vb-to-mathbf'] })