From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/ja/web/mathml/element/mtext/index.html | 120 +++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 files/ja/web/mathml/element/mtext/index.html (limited to 'files/ja/web/mathml/element/mtext') diff --git a/files/ja/web/mathml/element/mtext/index.html b/files/ja/web/mathml/element/mtext/index.html new file mode 100644 index 0000000000..7799f8b149 --- /dev/null +++ b/files/ja/web/mathml/element/mtext/index.html @@ -0,0 +1,120 @@ +--- +title: +slug: Web/MathML/Element/mtext +tags: + - MathML + - MathML Reference + - 'MathML:Element' + - 'MathML:Token Elements' +translation_of: Web/MathML/Element/mtext +--- +
{{MathMLRef}}
+ +

MathML <mtext> 要素は、コメントや注釈などの表記の意味をもたない任意のテキストをレンダリングするために使用されます。
+ 表記の意味テキストを表示するには、{{ MathMLElement("mi") }} や {{ MathMLElement("mo") }} を代わりに使用します。

+ +

属性

+ +
+
class, id, style
+
スタイルシートと一緒に用いて提供されます。
+
dir
+
数式全体の書字方向。値として ltr (左から右へ)と rtl (右から左へ) が指定可能です。
+
href
+
指定された URI へのハイパーリンクの設定に使用されます。
+
mathbackground
+
背景色。#rgb#rrggbbおよびHTML色名を使用できます。
+
mathcolor
+
文字色。#rgb#rrggbbおよびHTML色名を使用できます。
+
mathsize
+
Specifies the size of the content. Possible values are: +
    +
  • small:Font is rendered smaller than the current font size.
  • +
  • normal:Equivalent to 100% or 1em.
  • +
  • big:Font is rendered larger than the current font size.
  • +
  • a custom length.
  • +
  • or a unitless value which multiplies the default.
  • +
+
+
mathvariant
+
This attribute specifies the logical class of the identifier, which varies in typography. That is, although the names suggest the typographic style for the class, semantically, items with the same class are treated "the same" within an expression, which might or might not involve displaying them with the named typography. The following values are allowed: +
    +
  • normal (Default value) ; Example
  • +
  • bold ; Example
  • +
  • italic ; Example
  • +
  • bold-italic ; Example
  • +
+ +
    +
  • double-struck ; Example
  • +
  • bold-fraktur ; Example
  • +
  • script ; Example
  • +
  • bold-script ; Example
  • +
  • fraktur ; Example
  • +
+ +
    +
  • sans-serif ; Example
  • +
  • bold-sans-serif ; Example
  • +
  • sans-serif-italic ; Example
  • +
  • sans-serif-bold-italic ; Example
  • +
  • monospace ; Example
  • +
+ +
    +
  • normal (Default) ; مثال
  • +
  • initial ; مثال
  • +
  • tailed ; مثال
  • +
  • looped ; مثال
  • +
  • stretched ; مثال
  • +
+
+
+ +

+ +
<math>
+
+  <mtext> Theorem of Pythagoras </mtext>
+
+  <mtext> /* comment here */ </mtext>
+
+</math>
+
+ +

仕様

+ + + + + + + + + + + + + + + + + + + + + +
仕様状態コメント
{{ SpecName('MathML3', 'chapter3.html#presm.mtext', 'mtext') }}{{ Spec2('MathML3') }}現在の仕様
{{ SpecName('MathML2', 'chapter3.html#presm.mtext', 'mtext') }}{{ Spec2('MathML2') }}初期の仕様
+ +

ブラウザー互換性

+ + + +

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

+ +

Gecko 固有の注記

+ + -- cgit v1.2.3-54-g00ecf