HTML5 MathML
HTML5 MathML largeop Attribute
The largeop attribute, used on the <mo> element, indicates that an operator should be drawn larger when the formula is displayed in block mode - as with summation and integral signs.
Definition and usage
The largeop attribute takes the values true or false. When true and the surrounding math is in display style, the operator is rendered at a larger size. Operators like the summation sign have largeop set to true by default in the operator dictionary.
Which elements use it
- <mo> - marks the operator as a large operator in display mode.
Example
<math display="block">
<mrow>
<munderover largeop="true">
<mo largeop="true">∑</mo>
<mrow><mi>i</mi><mo>=</mo><mn>1</mn></mrow>
<mi>n</mi>
</munderover>
<msub><mi>a</mi><mi>i</mi></msub>
</mrow>
</math>With largeop="true" and display="block", the summation sign is enlarged and its limits are placed above and below it.
ℹ️
The largeop behaviour is part of MathML Core and is supported by modern browsers that render display-style operators.
