Rewrite Rulesbase/Big-class-variants-to-Big

base/Big-class-variants-to-Big

Collapse \Bigl, \Bigr, \Bigm to \Big.

Rewrite patterns#

  1. left\Bigl #1\Big #1
  2. right\Bigr #1\Big #1
  3. middle\Bigm #1\Big #1

Examples#

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

Left#

Before

\sin\Bigl(x

After this rule

\sin\Big(x

The rendered result has pixel differences from the input.

Right#

Before

x+\Bigr)

After this rule

x+\Big)

The rendered result has pixel differences from the input.

Middle#

Before

a\Bigm|b

After this rule

a\Big|b

The rendered result has pixel differences from the input.

Downstream rules#

Same family#

Notes#

The three source commands and \Big are base prefix commands with identical allowed_mode=math and argspec m:D. MathJax MakeBig uses the same scale within this tier, but the source TeX classes Open, Close, and Rel all collapse to Ord. The middle variant changes spacing in ordinary infix use; the left and right variants change spacing or Bin reclassification next to specific Op, Bin, or Rel atoms. The rule is Approximate over its full input domain. Other size tiers and \left/\right/\middle are out of scope.

Disable this rule#

TransformEngine(profile="corpus", disable_rules=["base/Big-class-variants-to-Big"])
new TransformEngine({ profile: 'corpus', disableRules: ['base/Big-class-variants-to-Big'] })

Open in Playground