HTML5 MathML
HTML5 MathML largeop Attribute
The largeop attribute on the <mo> element controls whether an operator is drawn large in display style. Integral, summation and product signs are typical large operators.
Definition and Usage
When largeop is true, an operator is enlarged in block (display) math so it dominates the expression, matching how integrals and sums look in printed mathematics. In inline math it stays at normal size.
Syntax
Example
<mo largeop="true">∫</mo>Example
This renders a definite integral where the integral sign is a large operator with limits.
Example
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>MathML largeop attribute</title>
</head>
<body>
<math display="block">
<mrow>
<msubsup>
<mo largeop="true">∫</mo>
<mn>0</mn>
<mn>1</mn>
</msubsup>
<msup><mi>x</mi><mn>2</mn></msup>
<mi>d</mi><mi>x</mi>
</mrow>
</math>
</body>
</html>ℹ️
largeop is part of MathML Core. Pair it with movablelimits to control whether the limits sit beside or above/below the operator.
Key Takeaways
- largeop enlarges an operator in display style.
- It is used for integrals, sums and products.
- Combine with movablelimits to position limits.
