blob: bae255350e8e968a2229d09e9ad39dd805bc603e (
plain)
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
|
---
title: <menclose>
slug: Web/MathML/Element/menclose
tags:
- MathML
- 'MathML:Element'
- 'MathML:General Layout Schemata'
- Referência de MathML
translation_of: Web/MathML/Element/menclose
---
<div>{{MathMLRef}}</div>
<p class="summary">O elemento de MathML <code><menclose></code> apresenta os seus conteúdos dentro da notação indicada pelo atributo <code>notation</code>.</p>
<h2 id="Atributos">Atributos</h2>
<dl>
<dt id="attr-class-id-style">class, id, style</dt>
<dd>Para uso com <em><a href="/en-US/docs/CSS">stylesheets</a></em>.</dd>
<dt id="attr-href">href</dt>
<dd>Usado para criar uma hiperligação para um URI.</dd>
<dt id="attr-mathbackground">mathbackground</dt>
<dd>A cor de fundo. Pode usar <code>#rgb</code>, <code>#rrggbb</code> e <a href="https://wiki.developer.mozilla.org/en-US/docs/CSS/color_value#Color_Keywords">nomes de cores HTML</a>.</dd>
<dt id="attr-mathcolor">mathcolor</dt>
<dd>A cor do texto. Pode usar <code>#rgb</code>, <code>#rrggbb</code> e <a href="https://wiki.developer.mozilla.org/en-US/docs/CSS/color_value#Color_Keywords">nomes de cores HTML</a>.</dd>
<dt id="attr-notation">notation</dt>
<dd>A lista de notações, separada por espaços, para aplicar aos elementos filhos. Os símbolos são desenhados como se os outros não estivessem presentes, e por isso podem sobrepor-se. Os valores possíveis são:
<table class="standard-table">
<tbody>
<tr>
<th>Valor</th>
<th>Exemplo de apresentação</th>
<th>Apresentação no seu navegador</th>
<th>Descrição</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>símbolo de longa divisão</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">símbolo atuarial</a></td>
</tr>
<tr>
<td><code>radical</code> {{deprecated_inline}}</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>símbolo de raiz quadrada. Depreciado. Use {{MathMLElement("msqrt")}}.</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>caixa</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>caixa arredondada</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>circulo</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>linha vertical à esquerda dos conteúdos</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>linha vertical à direita dos conteúdos</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>linha horizontal acima dos conteúdos</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>linha horizontal abaixo dos conteúdos</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>linha através do conteúdo da parte inferior esquerda para a parte superior direita</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>linha através do conteúdo da parte superior esquerda para a parte inferior direita</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>linha vertical através do conteúdo</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>linha horizontal através do conteúdo</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">símbolo fatorial arábico</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>seta diagonal</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>ângulo fasor</td>
</tr>
</tbody>
</table>
</dd>
</dl>
<h2 id="Exemplos">Exemplos</h2>
<pre class="brush: html notranslate"><math>
<menclose notation="circle box">
<mi> x </mi>
<mo> + </mo>
<mi> y </mi>
</menclose>
</math></pre>
<h2 id="Especificações">Especificações</h2>
<table class="standard-table">
<thead>
<tr>
<th scope="col">Especificação</th>
<th scope="col">Estado</th>
<th scope="col">Comentário</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{ SpecName('MathML3', 'chapter3.html#presm.menclose', 'menclose') }}</td>
<td>{{ Spec2('MathML3') }}</td>
<td>Especificação atual</td>
</tr>
<tr>
<td>{{ SpecName('MathML2', 'chapter3.html#presm.menclose', 'menclose') }}</td>
<td>{{ Spec2('MathML2') }}</td>
<td>Especificação inicial</td>
</tr>
</tbody>
</table>
<h2 id="Compatibilidade">Compatibilidade</h2>
<p>{{Compat("mathml.elements.menclose")}}</p>
<h2 id="Notas_para_Gecko">Notas para Gecko</h2>
<ul>
<li>Valores adicionais para o atributo <code>notation</code> foram adicionados nas seguintes publicações:
<ul>
<li><code>madruwb</code> em Gecko 2.0 {{GeckoRelease("2.0")}}.</li>
<li><code>updiagonalarrow</code> em Gecko 24.0 {{GeckoRelease("24.0")}}</li>
<li><code>phasorangle</code> em Gecko 32.0 {{GeckoRelease("32.0")}}</li>
</ul>
</li>
</ul>
|