In the previous section we applied single sub-scripts and super-scripts to elements, but tensors require multiple indices. The element used to achieve this is <mmultiscripts>:
|
|
The first tag inside the <mmultiscripts> is the base element, ie: the element to which the inices are being applied.
After the base comes sub-script super-script pairs, with the first pair appearing closest to the base element, and successive pairs getting further away.
When an element is not required in one of the sub-script or super-script pairs, the <none /> tag is used to take its place so that a pair is always provided:
|
|
The <mmultiscripts> can be extended even further by adding pre-scripts.
When all the required sub-script super-script pairs have been added, insert the empty <mprescripts /> tag. Then follow it by more sub-script super-script pairs which will be rendered as pre-scripts from left to right. So the first pair will appear furthest from the base element and the last pair closest.
|
|