From 4b1a9203c547c019fc5398082ae19a3f3d4c3efe Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:41:15 -0500 Subject: initial commit --- files/de/web/mathml/element/mtext/index.html | 233 +++++++++++++++++++++++++++ 1 file changed, 233 insertions(+) create mode 100644 files/de/web/mathml/element/mtext/index.html (limited to 'files/de/web/mathml/element/mtext') diff --git a/files/de/web/mathml/element/mtext/index.html b/files/de/web/mathml/element/mtext/index.html new file mode 100644 index 0000000000..7c4c326532 --- /dev/null +++ b/files/de/web/mathml/element/mtext/index.html @@ -0,0 +1,233 @@ +--- +title: +slug: Web/MathML/Element/mtext +tags: + - MathML + - 'MathML:Element' + - Referenz +translation_of: Web/MathML/Element/mtext +--- +
{{MathMLRef}}
+ +

In MathML wird das <mtext>-Element eingesetzt, um Textanmerkungen zu setzen, die zusätzliche oder erläuternde Informationen zum mathematischen Ausdruck beinhalten.
+ Um Text als Bestandteil der Formel darzustellen, werden alternativ die Elemente {{ MathMLElement("mi") }} und {{ MathMLElement("mo") }} genutzt.

+ +

Attribute

+ +
+
class, id, style
+
Zur Einbindung von CSS-Stylesheets und zur direkten Anwendung von CSS-Angaben.
+
dir
+
Allgemeine Schreibrichtung für die Formeln. Mögliche Werte sind ltr (left to right, von links nach rechts) und rtl (right to left, von rechts nach links).
+
href
+
Mit diesem Attribut kann ein Link gesetzt werden.
+
mathbackground
+
Die Hintergrundfarbe. Folgende Notationen sind erlaubt: #rgb, #rrggbb und HTML-Farbnamen.
+
mathcolor
+
Die Textfarbe. Folgende Notationen sind erlaubt: #rgb, #rrggbb und HTML-Farbnamen.
+
mathsize
+
Die Größe (Höhe) des Inhalts. Möglich sind diese Angaben: +
    +
  • small: Die Schrift wird kleiner dargestellt als die aktuelle Schrifthöhe.
  • +
  • normal: Dies entspricht 100% des aktuellen Schriftgrades = 1em.
  • +
  • big: Die Schrift wird größer dargestellt als die aktuelle Schrifthöhe.
  • +
  • Eine Längenangabe (siehe length).
  • +
  • Ein einheitenloser Wert der als Faktor auf die aktuelle Schrifthöhe interpretiert wird.
  • +
+
+
mathvariant
+
Dieses Attribut bezeichnet die logische Klasse des Operators. Mit der logischen Klasse ist in der Regel eine bestimmte Typographie verbunden, in erster Linie ist dies aber aber eine semantische Einteilung. Abschnitte der gleichen Klasse werden gleichermaßen behandelt, was einen bestimmten Stil zur Folgen haben kann aber nicht muss. Die folgenden Werte sind erlaubt: +
    +
  • normal (Standardwert für mehr als ein Zeichen) ; Example
  • +
  • bold ; Example
  • +
  • italic (Standardwert für ein einzelnes Zeichen) ; Example
  • +
  • bold-italic ; Example
  • +
+ +
    +
  • double-struck ; Example
  • +
  • bold-fraktur ; Example
  • +
  • script ; Example
  • +
  • bold-script ; Example
  • +
  • fraktur ; Example
  • +
+ +
    +
  • sans-serif ; Example
  • +
  • bold-sans-serif ; Example
  • +
  • sans-serif-italic ; Example
  • +
  • sans-serif-bold-italic ; Example
  • +
  • monospace ; Example
  • +
+ Die folgenden vier Werte betreffen nur arabische Schriften: + +
    +
  • initial ; مثال
  • +
  • tailed ; مثال
  • +
  • looped ; مثال
  • +
  • stretched ; مثال
  • +
+
+
+ +

Beispiele

+ +
<math>
+
+  <mtext> Theorem of Pythagoras </mtext>
+
+  <mtext> /* comment here */ </mtext>
+
+</math>
+
+ +

Spezifikationen

+ + + + + + + + + + + + + + + + + + + + + +
StandardStatusBemerkung
{{ SpecName('MathML3', 'chapter3.html#presm.mtext', 'mtext') }}{{ Spec2('MathML3') }}Current specification
{{ SpecName('MathML2', 'chapter3.html#presm.mtext', 'mtext') }}{{ Spec2('MathML2') }}Initial specification
+ +

Browserkompatibilität

+ +

{{CompatibilityTable}}

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MerkmalChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{CompatNo}}{{ CompatGeckoDesktop("1.0") }}{{CompatNo}}{{CompatNo}}5.1
dir{{CompatNo}}{{ CompatGeckoDesktop("12.0") }}{{CompatNo}}{{CompatNo}}{{CompatNo}}
href{{CompatNo}}{{ CompatGeckoDesktop("7.0") }}{{CompatNo}}{{CompatNo}}{{CompatNo}}
mathsize{{CompatNo}}{{ CompatGeckoDesktop("1.0") }}{{CompatNo}}{{CompatNo}}5.1
mathvariant{{CompatNo}}{{ CompatGeckoDesktop("28.0") }}{{CompatNo}}{{CompatNo}}{{CompatNo}}
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MerkmalAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{ CompatNo() }}{{ CompatNo() }}{{ CompatGeckoMobile("1.9.2") }}{{ CompatNo() }}{{ CompatNo() }}{{ CompatNo() }}
dir{{ CompatNo() }}{{ CompatNo() }}{{ CompatGeckoMobile("12.0") }}{{ CompatNo() }}{{ CompatNo() }}{{ CompatNo() }}
href{{ CompatNo() }}{{ CompatNo() }}{{ CompatGeckoMobile("7.0") }}{{ CompatNo() }}{{ CompatNo() }}{{ CompatNo() }}
mathsize{{ CompatNo() }}{{ CompatNo() }}{{ CompatGeckoMobile("1.9.2") }}{{ CompatNo() }}{{ CompatNo() }}{{ CompatNo() }}
mathvariant{{ CompatNo() }}{{ CompatNo() }}{{ CompatGeckoMobile("28.0") }}{{ CompatNo() }}{{ CompatNo() }}{{ CompatNo() }}
+
+ +

Hinweise zu Gecko

+ + -- cgit v1.2.3-54-g00ecf