Skip to content

Make math size style functions actually override show rules #6390

@anormalperson8

Description

@anormalperson8

Description

The functions math.display, math.inline, math.script and math.sscript allow manual configuration of the size of equation elements. However, the manual configuration does not override if there is an existing show rule.

Could there somehow be a style setting that keeps track of display style of a particular equation element so that show-set rules can be used instead, or that the style functions override everything including show rules?

Use Case

#show math.frac: math.display // Show rule for fractions to be in display style

$1/2$ // A 1/2 fraction in display style

$inline(1/2)$ //  A 1/2 fraction still in display style
$1/2$ // A 1/2 fraction in inline style

$display(1/2)$ //  A 1/2 fraction in display style

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestNew feature or requestmathRelated to math category, with its syntax, layout, etc.stylingAbout set and show rules or style properties

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions