HTML5 MathML
HTML5 MathML <mmultiscripts> Tag
The <mmultiscripts> tag attaches multiple subscripts and superscripts to a single base, on either side. It is used for notation such as tensors and pre-scripted symbols.
Definition and usage
The <mmultiscripts> element starts with a base, followed by pairs of post-scripts written as subscript then superscript. The empty <mprescripts /> element marks the point after which pairs become pre-scripts (attached to the left of the base). Use an empty <mrow /> or <none /> to skip a missing script in a pair.
Syntax
<mmultiscripts>
<mi>base</mi>
<mi>postsub</mi> <mi>postsup</mi>
<mprescripts />
<mi>presub</mi> <mi>presup</mi>
</mmultiscripts>Example
<math>
<mmultiscripts>
<mi>R</mi>
<mi>j</mi> <none />
<none /> <mi>i</mi>
<mprescripts />
<none /> <none />
</mmultiscripts>
</math>Scripts are always given in subscript-then-superscript pairs. The <none /> element fills a slot where there is no script, keeping the pairs aligned.
The <mmultiscripts> element is part of MathML Core and is supported in modern browsers, including recent versions of Chrome and Edge.
