diff options
Diffstat (limited to 'files/de/web/mathml/element/menclose/index.html')
-rw-r--r-- | files/de/web/mathml/element/menclose/index.html | 313 |
1 files changed, 313 insertions, 0 deletions
diff --git a/files/de/web/mathml/element/menclose/index.html b/files/de/web/mathml/element/menclose/index.html new file mode 100644 index 0000000000..8c41049e54 --- /dev/null +++ b/files/de/web/mathml/element/menclose/index.html @@ -0,0 +1,313 @@ +--- +title: <menclose> +slug: Web/MathML/Element/menclose +tags: + - MathML + - 'MathML:Element' + - Referenz +translation_of: Web/MathML/Element/menclose +--- +<div>{{MathMLRef}}</div> + +<p class="summary">Das MathML-Element <code><menclose></code> stellt seinen Inhalt innerhalb einer Umrandung oder Notation dar, die mit dem Attribut <code>notation</code> festgelegt werden kann. (engl. to enclose = einschließen, umzäunen)</p> + +<h2 id="Attribute">Attribute</h2> + +<dl> + <dt id="attr-class-id-style">class, id, style</dt> + <dd>Zur Einbindung von <a href="https://developer.mozilla.org/de/docs/Web/CSS">CSS-Stylesheets</a> und zur direkten Anwendung von CSS-Angaben.</dd> + <dt id="attr-href">href</dt> + <dd>Mit diesem Attribut kann ein Link gesetzt werden.</dd> + <dt id="attr-mathbackground">mathbackground</dt> + <dd>Die Hintergrundfarbe. Folgende Notationen sind erlaubt: <code><a href="https://developer.mozilla.org/de/docs/Web/CSS/Farben#rgb%28%29">#rgb</a></code>, <code><a href="https://developer.mozilla.org/de/docs/Web/CSS/Farben#rgb%28%29">#rrggbb</a></code> und <a href="https://developer.mozilla.org/de/docs/Web/CSS/Farben#Werte">HTML-Farbnamen</a>.</dd> + <dt id="attr-mathcolor">mathcolor</dt> + <dd>Die Textfarbe. Folgende Notationen sind erlaubt: <code><a href="https://developer.mozilla.org/de/docs/Web/CSS/Farben#rgb%28%29">#rgb</a></code>, <code><a href="https://developer.mozilla.org/de/docs/Web/CSS/Farben#rgb%28%29">#rrggbb</a></code> und <a href="https://developer.mozilla.org/de/docs/Web/CSS/Farben#Werte">HTML-Farbnamen</a>.</dd> + <dt id="attr-notation">notation</dt> + <dd>Eine Liste von Angaben, durch Leerzeichen getrennt. Alle Angaben werden unabhängig voneinander auf den Ausdruck angewandt, können sich also auch überlappen. Mögliche Werte sind: + <table class="standard-table"> + <tbody> + <tr> + <th>Wert</th> + <th>Beispiel</th> + <th>Darstellung in Deinem Browser</th> + <th>Beschreibung</th> + </tr> + <tr> + <td><code>longdiv</code> (default)</td> + <td><img alt="longdiv" src="/files/3167/default.png"></td> + <td><math> <menclose notation="longdiv"> <msup><mi>a</mi><mn>2</mn></msup> <mo>+</mo> <msup><mi>b</mi><mn>2</mn></msup> </menclose> </math></td> + <td>langer Bruchstrich</td> + </tr> + <tr> + <td><code>actuarial</code></td> + <td><img alt="actuarial" src="/files/3168/actuarial.png"></td> + <td><math> <menclose notation="actuarial"> <msup><mi>a</mi><mn>2</mn></msup> <mo>+</mo> <msup><mi>b</mi><mn>2</mn></msup> </menclose> </math></td> + <td><a class="external" href="http://en.wikipedia.org/wiki/Actuarial_notation" title="http://en.wikipedia.org/wiki/Actuarial_notation">actuarial symbol</a></td> + </tr> + <tr> + <td><code>radical</code></td> + <td><img alt="radical" src="/files/3169/radical.png"></td> + <td><math> <menclose notation="radical"> <msup><mi>a</mi><mn>2</mn></msup> <mo>+</mo> <msup><mi>b</mi><mn>2</mn></msup> </menclose> </math></td> + <td>Quadratwurzel</td> + </tr> + <tr> + <td><code>box</code></td> + <td><img alt="box" src="/files/3170/box.png"></td> + <td><math> <menclose notation="box"> <msup><mi>a</mi><mn>2</mn></msup> <mo>+</mo> <msup><mi>b</mi><mn>2</mn></msup> </menclose> </math></td> + <td>Rechteckige Umrandung</td> + </tr> + <tr> + <td><code>roundedbox</code></td> + <td><img alt="roundedbox" src="/files/3171/roundedbox.png"></td> + <td><math> <menclose notation="roundedbox"> <msup><mi>a</mi><mn>2</mn></msup> <mo>+</mo> <msup><mi>b</mi><mn>2</mn></msup> </menclose> </math></td> + <td>Abgerundete, rechteckige Umrandung</td> + </tr> + <tr> + <td><code>circle</code></td> + <td><img alt="circle" src="/files/3172/circle.png"></td> + <td><math> <menclose notation="circle"> <msup><mi>a</mi><mn>2</mn></msup> <mo>+</mo> <msup><mi>b</mi><mn>2</mn></msup> </menclose> </math></td> + <td>Kreisähnliche Umrandung</td> + </tr> + <tr> + <td><code>left</code></td> + <td><img alt="left" src="/files/3173/left.png"></td> + <td><math> <menclose notation="left"> <msup><mi>a</mi><mn>2</mn></msup> <mo>+</mo> <msup><mi>b</mi><mn>2</mn></msup> </menclose> </math></td> + <td>Senkrechte Linie links</td> + </tr> + <tr> + <td><code>right</code></td> + <td><img alt="right" src="/files/3174/right.png"></td> + <td><math> <menclose notation="right"> <msup><mi>a</mi><mn>2</mn></msup> <mo>+</mo> <msup><mi>b</mi><mn>2</mn></msup> </menclose> </math></td> + <td>Senkrechte Linie rechts</td> + </tr> + <tr> + <td><code>top</code></td> + <td><img alt="top" src="/files/3175/top.png"></td> + <td><math> <menclose notation="top"> <msup><mi>a</mi><mn>2</mn></msup> <mo>+</mo> <msup><mi>b</mi><mn>2</mn></msup> </menclose> </math></td> + <td>Waagerechte Linie oberhalb</td> + </tr> + <tr> + <td><code>bottom</code></td> + <td><img alt="bottom" src="/files/3176/bottom.png"></td> + <td><math> <menclose notation="bottom"> <msup><mi>a</mi><mn>2</mn></msup> <mo>+</mo> <msup><mi>b</mi><mn>2</mn></msup> </menclose> </math></td> + <td>Waagerechte Linie unterhalb</td> + </tr> + <tr> + <td><code>updiagonalstrike</code></td> + <td><img alt="updiagonalstrike" src="/files/3177/updiagonalstrike.png"></td> + <td><math> <menclose notation="updiagonalstrike"> <msup><mi>a</mi><mn>2</mn></msup> <mo>+</mo> <msup><mi>b</mi><mn>2</mn></msup> </menclose> </math></td> + <td>Von links unten nach rechts oben durchgestrichen</td> + </tr> + <tr> + <td><code>downdiagonalstrike</code></td> + <td><img alt="downdiagonalstrike" src="/files/3178/downdiagonalstrike.png"></td> + <td><math> <menclose notation="downdiagonalstrike"> <msup><mi>a</mi><mn>2</mn></msup> <mo>+</mo> <msup><mi>b</mi><mn>2</mn></msup> </menclose> </math></td> + <td>Von oben links nach unten rechts durchgestrichen</td> + </tr> + <tr> + <td><code>verticalstrike</code></td> + <td><img alt="verticalstrike" src="/files/3179/verticalstrike.png"></td> + <td><math> <menclose notation="verticalstrike"> <msup><mi>a</mi><mn>2</mn></msup> <mo>+</mo> <msup><mi>b</mi><mn>2</mn></msup> </menclose> </math></td> + <td>Von oben nach unten durchgestrichen</td> + </tr> + <tr> + <td><code>horizontalstrike</code></td> + <td><img alt="horizontalstrike" src="/files/3180/horizontalstrike.png"></td> + <td><math> <menclose notation="horizontalstrike"> <msup><mi>a</mi><mn>2</mn></msup> <mo>+</mo> <msup><mi>b</mi><mn>2</mn></msup> </menclose> </math></td> + <td>Waagerecht durchgestrichen</td> + </tr> + <tr> + <td><code>madruwb</code></td> + <td><img alt="madruwb" src="/files/3181/madruwb.png"></td> + <td><math> <menclose notation="madruwb"> <msup><mi>a</mi><mn>2</mn></msup> <mo>+</mo> <msup><mi>b</mi><mn>2</mn></msup> </menclose> </math></td> + <td><a class="external" href="http://en.wikipedia.org/wiki/Modern_Arabic_mathematical_notation#Arithmetic_and_algebra" title="http://en.wikipedia.org/wiki/Modern_Arabic_mathematical_notation#Arithmetic_and_algebra">Arabic factorial symbol</a></td> + </tr> + <tr> + <td><code>updiagonalarrow</code></td> + <td><img alt="" src="https://mdn.mozillademos.org/files/6255/updiagonalarrow.png" style="height: 38px; width: 83px;"></td> + <td><math> <menclose notation="updiagonalarrow"> <msup><mi>a</mi><mn>2</mn></msup> <mo>+</mo> <msup><mi>b</mi><mn>2</mn></msup> </menclose> </math></td> + <td>Pfeil diagonal von links unten nach rechts oben</td> + </tr> + <tr> + <td><code>phasorangle</code></td> + <td><img alt="Screenshot of the phasorangle notation" src="https://mdn.mozillademos.org/files/7851/phasorangle.png" style="height: 34px; width: 93px;"></td> + <td><math> <menclose notation="phasorangle"> <msup><mi>a</mi><mn>2</mn></msup> <mo>+</mo> <msup><mi>b</mi><mn>2</mn></msup> </menclose> </math></td> + <td>phasor angle</td> + </tr> + </tbody> + </table> + </dd> +</dl> + +<h2 id="Beispiele">Beispiele</h2> + +<pre class="brush: html"><math> + + <menclose notation="circle box"> + <mi> x </mi> + <mo> + </mo> + <mi> y </mi> + </menclose> + +</math></pre> + +<h2 id="Spezifikationen">Spezifikationen</h2> + +<table class="standard-table"> + <thead> + <tr> + <th scope="col">Standard</th> + <th scope="col">Status</th> + <th scope="col">Bemerkung</th> + </tr> + </thead> + <tbody> + <tr> + <td>{{ SpecName('MathML3', 'chapter3.html#presm.menclose', 'menclose') }}</td> + <td>{{ Spec2('MathML3') }}</td> + <td>Current specification</td> + </tr> + <tr> + <td>{{ SpecName('MathML2', 'chapter3.html#presm.menclose', 'menclose') }}</td> + <td>{{ Spec2('MathML2') }}</td> + <td>Initial specification</td> + </tr> + </tbody> +</table> + +<h2 id="Browserkompatibilität">Browserkompatibilität</h2> + +<p>{{CompatibilityTable}}</p> + +<div id="compat-desktop"> +<table class="compat-table"> + <tbody> + <tr> + <th>Merkmal</th> + <th>Chrome</th> + <th>Firefox (Gecko)</th> + <th>Internet Explorer</th> + <th>Opera</th> + <th>Safari</th> + </tr> + <tr> + <td>Basic support</td> + <td>{{CompatNo}}</td> + <td>{{CompatGeckoDesktop("1.0")}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatVersionUnknown}}</td> + </tr> + <tr> + <td><code>notation</code></td> + <td>{{CompatNo}}</td> + <td>{{CompatGeckoDesktop("1.0")}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + </tr> + <tr> + <td><code>href</code></td> + <td>{{CompatNo}}</td> + <td>{{ CompatGeckoDesktop("7.0") }}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}} [1]</td> + </tr> + <tr> + <td><code>mathbackground</code></td> + <td>{{CompatNo}}</td> + <td>{{ CompatGeckoDesktop("2.0") }}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + </tr> + <tr> + <td><code>mathcolor</code></td> + <td>{{CompatNo}}</td> + <td>{{ CompatGeckoDesktop("2.0") }}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + </tr> + </tbody> +</table> +</div> + +<div id="compat-mobile"> +<table class="compat-table"> + <tbody> + <tr> + <th>Merkmal</th> + <th>Android</th> + <th>Chrome for Android</th> + <th>Firefox Mobile (Gecko)</th> + <th>IE Mobile</th> + <th>Opera Mobile</th> + <th>Safari Mobile</th> + </tr> + <tr> + <td>Basic support</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + <td>{{ CompatGeckoMobile("1.0") }}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatVersionUnknown}}</td> + </tr> + <tr> + <td><code>notation</code></td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + <td>{{ CompatGeckoMobile("1.0") }}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + </tr> + <tr> + <td><code>href</code></td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + <td>{{ CompatGeckoMobile("7.0") }}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}} [1]</td> + </tr> + <tr> + <td><code>mathbackground</code></td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + <td>{{ CompatGeckoMobile("2.0") }}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + </tr> + <tr> + <td><code>mathcolor</code></td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + <td>{{ CompatGeckoMobile("2.0") }}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + <td> + <p>{{CompatNo}}</p> + </td> + </tr> + </tbody> +</table> +</div> + +<p>[1] See <a href="https://bugs.webkit.org/show_bug.cgi?id=85733">bug 85733</a>.</p> + +<h2 id="Hinweise_zu_Gecko">Hinweise zu Gecko</h2> + +<ul> + <li>Diese möglichen Werte für <code>notation</code> wurden später hinzugefügt: + + <ul> + <li><code>madruwb</code> in Gecko 2.0 {{GeckoRelease("2.0")}}.</li> + <li><code>updiagonalarrow</code> in Gecko 24.0 {{GeckoRelease("24.0")}}</li> + <li><code>phasorangle</code> in Gecko 32.0 {{GeckoRelease("32.0")}}</li> + </ul> + </li> +</ul> |