<mprescripts>

Baseline 2023
Newly available

Since January 2023, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.

Das <mprescripts> MathML-Element wird innerhalb eines <mmultiscripts>-Elements verwendet, um den Beginn der Pre-Scripts-Elemente anzuzeigen (Indices und Hochzahlen, die vor dem Basis-Ausdruck platziert werden).

Attribute

Dieses Element unterstützt globale MathML-Attribute.

Beispiel

Das erste <mmultiscripts>-Kinder-Element wird ein Basis-Ausdruck. Die restlichen Kinder werden standardmäßig zu Post-Scripts-Elementen (a, b). <mprescripts> dient als Trennzeichen, und Kinder danach werden Pre-Scripts-Elemente (c, d).

html
<math display="block">
  <mmultiscripts>
    <mi>X</mi> <!-- base expression -->
    <mi>a</mi> <!-- post-sub-script -->
    <mi>b</mi> <!-- post-sup-script -->
    <mprescripts />
    <mi>c</mi> <!-- pre-sub-script -->
    <mi>d</mi> <!-- pre-sup-script -->
  </mmultiscripts>
</math>

Technische Zusammenfassung

Spezifikationen

Specification
MathML Core
# prescripts-and-tensor-indices-mmultiscripts

Browser-Kompatibilität

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
mprescripts

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support

Siehe auch