Rewrite patterns#
- display-style
\dbinom{#1}{#2}\binom{#1}{#2} - text-style
\tbinom{#1}{#2}\binom{#1}{#2}
Examples#
Each example shows this rule applied in isolation. A complete normalization profile may make additional changes.
dbinom plain#
The rendered result has pixel differences from the input.
dbinom script#
The rendered result has pixel differences from the input.
tbinom plain#
The rendered result has pixel differences from the input.
tbinom display#
The rendered result has pixel differences from the input.
tbinom script#
The rendered result has pixel differences from the input.
Related rules#
Same family#
ams/cfrac-to-fracDrop continued-fraction styling from centered AMS cfrac forms.ams/dfrac-to-fracRewrite the AMS display-style fraction command to frac.ams/tfrac-to-fracRewrite the AMS text-style fraction command to frac.base/above-to-genfracRewrite above to a thickness-preserving genfrac form.base/abovewithdelims-to-genfracRewrite abovewithdelims to an explicit genfrac with delimiters and thickness.base/atop-to-genfracRewrite infix atop to an explicit no-rule genfrac form.base/atopwithdelims-to-genfracRewrite atopwithdelims to an explicit delimited no-rule genfrac form.base/brace-to-genfracRewrite infix brace to an explicit genfrac with brace delimiters.base/brack-to-genfracRewrite infix brack to an explicit genfrac with bracket delimiters.base/choose-to-binomRewrite infix choose to an explicit binom command.base/over-to-fracRewrite infix over to an explicit frac command.base/overwithdelims-to-genfracRewrite overwithdelims to an explicit genfrac with delimiters.base/root-of-to-sqrtRewrite legacy root-of syntax to bracketed sqrt notation.base/leftroot-dropDrop the leftroot index-position hint in cleanup-oriented normalization.base/uproot-dropDrop the uproot index-position hint in cleanup-oriented normalization.
Notes#
AMS defines dbinom and tbinom with forced display and text styles while binom inherits context. The binomial family has a different canonical target from fractions and therefore uses a separate rule; the style loss is intentional Reading normalization.
Disable this rule#
TransformEngine(profile="corpus", disable_rules=["ams/dbinom-and-tbinom-to-binom"])new TransformEngine({ profile: 'corpus', disableRules: ['ams/dbinom-and-tbinom-to-binom'] })