diff options
author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
---|---|---|
committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
commit | 33058f2b292b3a581333bdfb21b8f671898c5060 (patch) | |
tree | 51c3e392513ec574331b2d3f85c394445ea803c6 /files/zh-cn/web/mathml/element/msubsup/index.html | |
parent | 8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff) | |
download | translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2 translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip |
initial commit
Diffstat (limited to 'files/zh-cn/web/mathml/element/msubsup/index.html')
-rw-r--r-- | files/zh-cn/web/mathml/element/msubsup/index.html | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/files/zh-cn/web/mathml/element/msubsup/index.html b/files/zh-cn/web/mathml/element/msubsup/index.html new file mode 100644 index 0000000000..cf083f698e --- /dev/null +++ b/files/zh-cn/web/mathml/element/msubsup/index.html @@ -0,0 +1,87 @@ +--- +title: <msubsup> +slug: Web/MathML/Element/msubsup +tags: + - MathML + - MathML 参考 +translation_of: Web/MathML/Element/msubsup +--- +<div>{{MathMLRef}}</div> + +<p><span class="seoSummary">MathML <code><msubsup></code> 元素用于为表达式同时附加上角标和下角标。</span></p> + +<p>它的语法如下:<code><msubsup> <em>base subscript superscript</em> </msubsup></code>.</p> + +<h2 id="属性">属性</h2> + +<dl> + <dt id="attr-class-id-style"><code>class</code>、<code>id</code>、<code>style</code></dt> + <dd>供<a href="/zh-CN/docs/CSS">样式</a>使用。</dd> + <dt id="attr-href"><code>href</code></dt> + <dd>Used to set a hyperlink to a specified URI.</dd> + <dt id="attr-mathbackground"><code>mathbackground</code></dt> + <dd>背景颜色。支持 <code>#rgb</code>、<code>#rrggbb</code> 和 <a href="/zh-CN/docs/CSS/color_value#Color_Keywords">HTML 颜色名称</a>。</dd> + <dt id="attr-mathcolor"><code>mathcolor</code></dt> + <dd>文本颜色。支持 <code>#rgb</code>、<code>#rrggbb</code> 和 <a href="/zh-CN/docs/CSS/color_value#Color_Keywords">HTML 颜色名称</a>。</dd> + <dt id="attr-subscriptshift"><code>subscriptshift</code> {{deprecated_inline}}</dt> + <dd>The minimum space by which to shift the subscript below the baseline of the expression, as a <a href="/en-US/docs/MathML/Attributes/Values#Lengths">length value.</a><br> + This attribute is deprecated and will be removed in the future.</dd> + <dt id="attr-superscriptshift"><code>superscriptshift</code> {{deprecated_inline}}</dt> + <dd>The minimum space by which to shift the superscript above the baseline of the expression, as a <a href="/en-US/docs/MathML/Attributes/Values#Lengths">length value.</a><br> + This attribute is deprecated and will be removed in the future.</dd> +</dl> + +<h2 id="示例">示例</h2> + +<p>示例渲染结果:<img alt="x1" src="/files/3204/msubsup.png" style="margin-left: 10px; vertical-align: middle;"></p> + +<p>当前浏览器中的渲染结果:<math displaystyle="true"> <msubsup><mo>∫</mo> <mn> 0 </mn> <mn> 1 </mn> </msubsup> </math></p> + +<pre class="brush: html"><math displaystyle="true"> + + <msubsup> + <mo> &#x222B;<!-- 积分符号 --> </mo> + <mn> 0 </mn> + <mn> 1 </mn> + </msubsup> + +</math> +</pre> + +<h2 id="规范">规范</h2> + +<table class="standard-table"> + <thead> + <tr> + <th scope="col">规范</th> + <th scope="col">状态</th> + <th scope="col">备注</th> + </tr> + </thead> + <tbody> + <tr> + <td>{{ SpecName('MathML3', 'chapter3.html#presm.msubsup', 'msubsup') }}</td> + <td>{{ Spec2('MathML3') }}</td> + <td>Current specification</td> + </tr> + <tr> + <td>{{ SpecName('MathML2', 'chapter3.html#presm.msubsup', 'msubsup') }}</td> + <td>{{ Spec2('MathML2') }}</td> + <td>Initial specification</td> + </tr> + </tbody> +</table> + +<h2 id="浏览器兼容性">浏览器兼容性</h2> + + + +<p>{{Compat("mathml.elements.msubsup")}}</p> + +<h2 id="参见">参见</h2> + +<ul> + <li>{{ MathMLElement("msub") }}(上标)</li> + <li>{{ MathMLElement("msup") }}(下标)</li> + <li>{{ MathMLElement("mmultiscripts") }}(Prescript 和 tensor indice)</li> +</ul> |