From 074785cea106179cb3305637055ab0a009ca74f2 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:42:52 -0500 Subject: initial commit --- files/ru/web/mathml/element/mfenced/index.html | 97 ++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 files/ru/web/mathml/element/mfenced/index.html (limited to 'files/ru/web/mathml/element/mfenced') diff --git a/files/ru/web/mathml/element/mfenced/index.html b/files/ru/web/mathml/element/mfenced/index.html new file mode 100644 index 0000000000..aea81d155f --- /dev/null +++ b/files/ru/web/mathml/element/mfenced/index.html @@ -0,0 +1,97 @@ +--- +title: +slug: Web/MathML/Element/mfenced +translation_of: Web/MathML/Element/mfenced +--- +
{{MathMLRef}}
+ +

Элемент MathML <mfenced> обеспечивает возможность добавить по выбору открывающие и закрывающие скобки (например, квадратные) и разделители (например, запятую или точку с запятой) 

+ +

Атрибуты

+ +
+
class, id, style
+
Предполагается использование с таблицами стилей.
+
close
+
Строка для закрывающего разделителя. Значением по умолчанию является ")" и все пробелы обрезаются.
+
href
+
Используется для установки гиперссылки на указанный URI.
+
mathbackground
+
Цвет фона. Вы можете использовать #rgb, #rrggbb и имена цветов HTML.
+
mathcolor
+
Цвет текста и также цвет линии дроби. Вы можете использовать #rgb, #rrggbb и имена цветов HTML.
+
open
+
Строка для открывающего разделителя. Значением по умолчанию является "(" и все пробелы обрезаются.
+
separators
+
A sequence of zero or more characters to be used for different separators, optionally divided by white space, which is ignored. The default value is ",". By specifying more than one character, it is possible to set different separators for each argument in the expression. If there are too many separators, all excess is ignored. If there are too few separators in the expression, the last specified separator is repeated.
+
+ +

Examples

+ +

The last separator is repeated (,)

+ +

Sample rendering: {a;b;c,d,e}

+ +

Rendering in your browser: a b c d e

+ +
<math>
+  <mfenced open="{" close="}" separators=";;,">
+    <mi>a</mi>
+    <mi>b</mi>
+    <mi>c</mi>
+    <mi>d</mi>
+    <mi>e</mi>
+  </mfenced>
+</math>
+
+ +

All excess is ignored (,)

+ +

Sample rendering: [a|b|c|d|e]

+ +

Rendering in your browser: a b c d e

+ +
<math>
+  <mfenced open="[" close="]" separators="||||,">
+    <mi>a</mi>
+    <mi>b</mi>
+    <mi>c</mi>
+    <mi>d</mi>
+    <mi>e</mi>
+  </mfenced>
+</math>
+
+ +

Specifications

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

Browser compatibility

+ +

 

+ + + +

{{Compat("mathml.elements.mfenced")}}

+ +

 

-- cgit v1.2.3-54-g00ecf