1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
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>
|