aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/mathml/element/menclose/index.md
diff options
context:
space:
mode:
Diffstat (limited to 'files/fr/web/mathml/element/menclose/index.md')
-rw-r--r--files/fr/web/mathml/element/menclose/index.md170
1 files changed, 170 insertions, 0 deletions
diff --git a/files/fr/web/mathml/element/menclose/index.md b/files/fr/web/mathml/element/menclose/index.md
new file mode 100644
index 0000000000..e9682fb6a4
--- /dev/null
+++ b/files/fr/web/mathml/element/menclose/index.md
@@ -0,0 +1,170 @@
+---
+title: menclose
+slug: Web/MathML/Element/menclose
+tags:
+ - MathML
+ - 'MathML:Element'
+ - 'MathML:Référence'
+translation_of: Web/MathML/Element/menclose
+---
+<p>L'élément MathML <code>&lt;menclose&gt;</code> permet d'afficher son contenu groupé au sein d'une même notation, définie par l'attribut <code>notation</code>.</p>
+<h2 id="Attributs">Attributs</h2>
+
+<dl>
+ <dt>class, id, style</dt>
+ <dd>Afin d'être utilisés avec les <a href="/fr/docs/CSS">feuilles de styles</a>.</dd>
+ <dt>href</dt>
+ <dd>Un hyperlien pointant vers un URI donné.</dd>
+ <dt>mathbackground</dt>
+ <dd>La couleur de fond. Il est possible d'utiliser les codes au format <code>#rgb</code>, <code>#rrggbb</code> et les <a href="/fr/docs/CSS/valeur_de_couleur#Mots-cl.C3.A9s">noms de couleurs HTML</a>.</dd>
+ <dt>mathcolor</dt>
+ <dd>La couleur du texte. Il est possible d'utiliser les codes au format <code>#rgb</code>, <code>#rrggbb</code> et les <a href="/fr/docs/CSS/valeur_de_couleur#Mots-cl.C3.A9s">noms de couleurs HTML</a>.</dd>
+ <dt>notation</dt>
+ <dd><p>Une liste de notations à appliquer aux éléments fils, séparées par des blancs. Les symboles sont dessinés indépendamment et peuvent donc parfois se superposer. Les valeurs possibles sont :</p>
+ <table class="standard-table">
+ <tbody>
+ <tr>
+ <th>Valeur</th>
+ <th>Affichage</th>
+ <th>Affichage dans votre navigateur</th>
+ <th>Description</th>
+ </tr>
+ <tr>
+ <td><code>longdiv</code> (valeur par défaut)</td>
+ <td><img alt="longdiv" src="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>Symbole de division longue</td>
+ </tr>
+ <tr>
+ <td><code>actuarial</code></td>
+ <td><img alt="actuarial" src="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 href="http://en.wikipedia.org/wiki/Actuarial_notation">Symbole actuaire</a></td>
+ </tr>
+ <tr>
+ <td><code>radical</code></td>
+ <td><img alt="radical" src="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>Symbole de la racine carrée</td>
+ </tr>
+ <tr>
+ <td><code>box</code></td>
+ <td><img alt="box" src="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>Boîte</td>
+ </tr>
+ <tr>
+ <td><code>roundedbox</code></td>
+ <td><img alt="roundedbox" src="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>Boîte arrondie</td>
+ </tr>
+ <tr>
+ <td><code>circle</code></td>
+ <td><img alt="circle" src="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>Cercle</td>
+ </tr>
+ <tr>
+ <td><code>left</code></td>
+ <td><img alt="left" src="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>Ligne à la gauche du contenu</td>
+ </tr>
+ <tr>
+ <td><code>right</code></td>
+ <td><img alt="right" src="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>Ligne à la droite du contenu</td>
+ </tr>
+ <tr>
+ <td><code>top</code></td>
+ <td><img alt="top" src="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>Ligne au-dessus du contenu</td>
+ </tr>
+ <tr>
+ <td><code>bottom</code></td>
+ <td><img alt="bottom" src="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>Ligne en-dessous du contenu</td>
+ </tr>
+ <tr>
+ <td><code>updiagonalstrike</code></td>
+ <td><img alt="updiagonalstrike" src="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>Ligne de rayure allant du coin bas-gauche au coin haut-droit</td>
+ </tr>
+ <tr>
+ <td><code>downdiagonalstrike</code></td>
+ <td><img alt="downdiagonalstrike" src="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>Ligne de rayure allant du coin haut-gauche au coin bas-droit</td>
+ </tr>
+ <tr>
+ <td><code>verticalstrike</code></td>
+ <td><img alt="verticalstrike" src="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>Ligne de rayure verticale à travers le contenu</td>
+ </tr>
+ <tr>
+ <td><code>horizontalstrike</code></td>
+ <td><img alt="horizontalstrike" src="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>Ligne de rayure horizontale à travers le contenu</td>
+ </tr>
+ <tr>
+ <td><code>madruwb</code></td>
+ <td><img alt="madruwb" src="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 href="http://en.wikipedia.org/wiki/Modern_Arabic_mathematical_notation#Arithmetic_and_algebra">Symbole arabe pour la factorielle</a></td>
+ </tr>
+ <tr>
+ <td><code>updiagonalarrow</code></td>
+ <td><img alt="" src="updiagonalarrow.png"></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>flèche diagonale</td>
+ </tr>
+ </tbody>
+ </table>
+ </dd>
+</dl>
+
+<h2 id="Exemples">Exemples</h2>
+<pre class="brush: html">&lt;math&gt;
+
+  &lt;menclose notation="circle box"&gt;
+    &lt;mi&gt; x &lt;/mi&gt;
+    &lt;mo&gt; + &lt;/mo&gt;
+    &lt;mi&gt; y &lt;/mi&gt;
+  &lt;/menclose&gt;
+
+&lt;/math&gt;</pre>
+
+<h2 id="Specifications">Spécifications</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th scope="col">Spécification</th>
+ <th scope="col">Statut</th>
+ <th scope="col">Commentaire</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{ SpecName('MathML3', 'chapter3.html#presm.menclose', 'menclose') }}</td>
+ <td>{{ Spec2('MathML3') }}</td>
+ <td>Définition actuelle</td>
+ </tr>
+ <tr>
+ <td>{{ SpecName('MathML2', 'chapter3.html#presm.menclose', 'menclose') }}</td>
+ <td>{{ Spec2('MathML2') }}</td>
+ <td>Définition initiale</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Browser_compatibility">Compatibilité des navigateurs</h2>
+
+<p>{{Compat("mathml.elements.menclose")}}</p>