Rewrite Rulesphysics/cross-aliases-to-times

physics/cross-aliases-to-times

Normalize physics cross-product glyph aliases to times for corpus form.

Rewrite patterns#

  1. cp\cp\times
  2. cross\cross\times
  3. crossproduct\crossproduct\times

Examples#

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

cp character alias#

Before

A \cp B

After this rule

A \times B

Rendering verified with the declared packages.

cross character alias#

Before

A \cross B

After this rule

A \times B

Rendering verified with the declared packages.

crossproduct character alias#

Before

A \crossproduct B

After this rule

A \times B

Rendering verified with the declared packages.

Same family#

Disable this rule#

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

Open in Playground