<menclose>

Non-standard: This feature is not standardized. We do not recommend using non-standard features in production, as they have limited browser support, and may change or be removed. However, they can be a suitable alternative in specific cases where no standard option exists.

The <menclose> MathML element renders its content inside an enclosing notation specified by the notation attribute.

Attributes

This element's attributes include the global MathML attributes.

notation

A list of notations, separated by white space, to apply to the child elements. The symbols are each drawn as if the others are not present, and therefore may overlap. Possible values are:

ValueSample RenderingRendering in your browserDescription
longdiv (default)Longdiv sample rendering.a2+b2long division symbol
actuarialActuarial sample rendering.a2+b2actuarial symbol
boxBox sample rendering.a2+b2box
roundedboxRoundedbox sample rendering.a2+b2rounded box
circleCircle sample rendering.a2+b2circle
leftLeft sample rendering.a2+b2line to the left of the contents
rightRight sample rendering.a2+b2line to the right of the contents
topTop sample rendering.a2+b2line above of the contents
bottomBottom sample rendering.a2+b2line below of the contents
updiagonalstrikeUpdiagonalstrike sample rendering.a2+b2strikeout line through contents from lower left to upper right
downdiagonalstrikeDowndiagonalstrike sample rendering.a2+b2strikeout line through contents from upper left to lower right
verticalstrikeVerticalstrike sample rendering.a2+b2vertical strikeout line through contents
horizontalstrikeHorizontalstrike sample rendering.a2+b2horizontal strikeout line through contents
madruwbMadruwb sample rendering.a2+b2Arabic factorial symbol
updiagonalarrowMadruwb sample rendering.a2+b2diagonal arrow
phasoranglePhasorangle sample rendering.a2+b2phasor angle

Examples

html
<math display="block">
  <menclose notation="circle box">
    <mi>x</mi>
    <mo>+</mo>
    <mi>y</mi>
  </menclose>
</math>

Sample rendering:

Circle and box values applied at the same time.

Rendering in your browser:

Technical summary

Implicit ARIA roleNone

Specifications

The <menclose> element is not defined in any browser-oriented specification but you can find a description in MathML 4.