Baseline 2023Newly 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 の
要素はアクセントかリミットを上に載せるために使われます。構文は次の通りです:
訳注:アクセントは例えばドットやハットなどの記号です。リミットとは,定積分の区間の端点などのことです。
overscript には定着した訳語がないようです。superscript(上付き)が肩に付く添字であるのに対し,overscript は真上に付く添字です。そのまま「オーバースクリプト」と書くことにします。
属性
- accent
-
これが
true
の場合,オーバースクリプトはアクセントであり,本体に近く表示されます。false
(既定値)の場合,オーバースクリプトは本体の上に載せるリミットです。 訳注:既定値は実際にはもう少し複雑で,オーバースクリプトが
要素の場合,その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:
Rendering in your browser:
仕様書
Specification |
---|
MathML Core # underscripts-and-overscripts-munder-mover-munderover |