MathML Script and Limit
Ce contenu n’est pas encore disponible dans votre langue.
This category contains the script and limit elements for MathML. These elements will allow you to achieve typical mathematical notations.
Multiscripts - <mmultiscripts>
Element
The <mmultiscripts>
element in MathML is used to specify multiple superscripts and subscripts for a single base element. It allows for more complex notation involving multiple indices or exponents, commonly found in mathematical expressions involving tensors, matrices, or other mathematical structures.
Syntax and Usage
The <mmultiscripts>
element can contain various child elements to specify the base, prescripts, and postscripts. Here’s a basic structure:
Within the <mmultiscripts>
element, you can specify the base element using any valid MathML element (such as <mi>
, <mo>
, etc.). Additionally, you can include <mprescripts>
and <msuperscript>
, <msubscript>
, and <mmultiscripts>
elements to define prescripts (superscripts before the base), superscripts, and subscripts, respectively.
Example Usage
Here’s an example of using <mmultiscripts>
to represent a tensor:
In this example, the <mmultiscripts>
element is used to represent a tensor T
with multiple subscripts and superscripts. The base element is represented by the <mi>
element with the content T
. The subscripts and superscripts are specified using the <mi>
elements with the content i
, k
, and l
. The <mprescripts>
element is used to indicate that there are prescripts in this case.
Over - <mover>
Element
The <mover>
element in MathML is used to represent expressions with a single overscript. This could be a variable with a bar (commonly used to represent a vector), a variable with a tilde (often used to represent a complex conjugate), or any other expression with an overscript.
Syntax and Usage
The <mover>
element has two child elements: the base and the overscript.
Here’s an example of how you might represent a vector using the <mover>
element:
In this example, <mi>v</mi>
represents the base element (the variable ), and <mo>→</mo>
represents the overscript (a right arrow ). Together, they represent the vector .