<mover>

Baseline 2023
Newly available

Since January 2023, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.

MathML の <mover> 要素はアクセントかリミットを上に載せるために使われます。構文は次の通りです: <mover> base overscript </mover> 訳注:アクセントは例えばドットやハットなどの記号です。リミットとは,定積分の区間の端点などのことです。 overscript には定着した訳語がないようです。superscript(上付き)が肩に付く添字であるのに対し,overscript は真上に付く添字です。そのまま「オーバースクリプト」と書くことにします。

属性

accent

これが true の場合,オーバースクリプトはアクセントであり,本体に近く表示されます。 false(既定値)の場合,オーバースクリプトは本体の上に載せるリミットです。 訳注:既定値は実際にはもう少し複雑で,オーバースクリプトが <mo> 要素の場合,その accent 属性が既定値となるというルールがあります。詳細は仕様書を参照。また,accent 属性の値によって大きさが違って表示される場合もあります。

align

オーバースクリプトの揃え位置。取り得る値は:left, center および right.

class, id, style

Provided for use with stylesheets.

href

Used to set a hyperlink to a specified URI.

mathbackground

The background color. You can use #rgb, #rrggbb and HTML color names.

mathcolor

The text color. You can use #rgb, #rrggbb and HTML color names.

Sample rendering: x+y+z

Rendering in your browser: x + y + z

html
<math>
  <mover accent="true">
    <mrow>
      <mi> x </mi>
      <mo> + </mo>
      <mi> y </mi>
      <mo> + </mo>
      <mi> z </mi>
    </mrow>
    <mo>
      &#x23DE;
      <!--TOP CURLY BRACKET-->
    </mo>
  </mover>
</math>

仕様書

Specification
MathML Core
# underscripts-and-overscripts-munder-mover-munderover

ブラウザ実装状況

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
mover
accent

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support

関連情報