The MathML mmultiscripts element allows you to create tensor-like objects.
Overview TableThese examples demonstrate a simple usage of the mmultiscripts element:
<math>
<mmultiscripts>
<mi>X</mi>
<mi>d</mi>
<mi>c</mi>
<mprescripts />
<mi>b</mi>
<mi>a</mi>
</mmultiscripts>
</math>
<math>
<mmultiscripts>
<mi>X</mi>
<none />
<mi>c</mi>
<mprescripts />
<mi>b</mi>
<none />
</mmultiscripts>
</math>
Related specifications
In a descriptive way tensors are multidimensional matrices (mathematical imprecise but exemplified). The degree of a tensor depends on the dimensionality of a representative array. For example, a number is a 0-dimensional array, or a 0th-order tensor. A 1-dimensional array (e.g. vectors) is a 1st-order tensor and so 2nd-order tensors are needed to represent square matrices. To learn more about the mathematical background of tensors refer to the entry on Wikipedia.
MathML uses a special syntax to describe subscripts and superscripts for both, postscripts and prescripts, attached to a base expression:
<mmultiscripts>
base
(subscript superscript)*
[ <mprescripts/> (presubscript presuperscript)* ]
</mmultiscripts>
After the base expression you can specify a postsubscript and a postsuperscript. Prescripts are optional and are separated by the empty tag <mprescripts/>. In addition you are able to use <none/> as a placeholder for empty positions.
AttributesMozilla Developer Network : Article
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4