MathML attribute reference

此页面是MathML属性的字母表。 每个属性的更多详细信息请看这里element pages

注意:

  • MathML的 <mstyle> (en-US)<math> 元素接受所有 MathML 的描述元素。
  • 请参阅MathML中值(values)和单位的注释值。
名(Name) 元素接受的属性(Elements accepting attribute) 描述(Description)
accent <mo> (en-US), <mover> (en-US), <munderover> (en-US)

布尔类型的值,指明操作符是否应该被视为accent。

原文:A Boolean value specifying whether the operator should be treated as an accent.

accentunder <munder> (en-US), <munderover> (en-US)

布尔类型的值,指明操作符是否应该被视为accent。

原文:A Boolean value specifying whether the operator should be treated as an accent.

actiontype <maction> 字符串类型的值,指明元素发生的操作。
align <mtable> (en-US)
<munder> (en-US), <mover> (en-US), <munderover> (en-US)
<mstack>
Specifies different alignments of several elements (see element pages for details).
未实现 alignmentscope <mtable> (en-US) A Boolean value specifying whether table columns should act as alignment scopes or not.
未实现
altimg
altimg-width
altimg-height
altimg-valign
alttext
<math> Visual and textual fall-back options.
bevelled <mfrac> (en-US) Specifies the style how the fraction should be displayed.
未实现 charalign <mstack> Specifies the horizontal alignment of digits.
close <mfenced> (en-US) A string for the closing delimiter.
columnalign <mtable> (en-US), <mtd> (en-US), <mtr> (en-US), <mlabeledtr> Specifies the horizontal alignment of table cells.
columnlines <mtable> (en-US) Specifies table column borders.
未实现 columnspacing <mtable> (en-US) Specifies the space between table columns.
columnspan <mtd> (en-US) A non-negative integer value that indicates on how many table columns does the cell extend.
未实现 columnwidth <mtable> (en-US) Specifies the width of table columns.
未实现 crossout <mscarry> Specifies what kind of line is drawn to cross out carries.
未实现 decimalpoint <mstyle> (en-US) If the decimalpoint value is used to specify the alignment, this attribute is specifying the character for the alignment point within <mstack> and <mtable> (en-US) columns.
denomalign <mfrac> (en-US) The alignment of the denominator under the fraction.
depth <mpadded> (en-US) Sets or increments the depth. See length.
dir <math>, <mi> (en-US), <mo> (en-US), <mrow>, <ms> (en-US), <mtext> (en-US) The text direction. Possible values are either ltr (left to right) or rtl (right to left).
display <math> Specifies the rendering mode. The values block and inline are allowed.
displaystyle <mstyle> (en-US), <mtable> (en-US) A Boolean value specifying whether more vertical space is used for displayed equations or, if set to false, a more compact layout is used to display formulas.
未实现 edge <malignmark>  
未实现 equalcolumns <mtable> (en-US) A Boolean value indicating whether to force all columns to have the same total height.
未实现 equalrows <mtable> (en-US) A Boolean value indicating whether to force all rows to have the same total height.
fence <mo> (en-US) A Boolean value specifying whether the operator is a fence (such as parentheses). There is no visual effect for this attribute.
未实现 form <mo> (en-US) Specifies the role of the operator in an enclosed expression.
frame <mtable> (en-US) Specifies borders of an entire <mtable> (en-US). Possible values are: none (default), solid and dashed.
未实现 framespacing <mtable> (en-US) Specifies additional space added between the table and frame.
未实现 groupalign <maligngroup>, <mtable> (en-US), <mtd> (en-US), <mtr> (en-US)  
height <mglyph>, <mpadded> (en-US), <mspace> Specifies the desired height. See lengths for possible values.
href All Used to set a hyperlink to a specified URI.
id All Sets up a unique identifier associated with the element.
未实现 indentalign <mo> (en-US), <mspace>  
未实现 indentalignfirst <mo> (en-US), <mspace>  
未实现 indentalignlast <mo> (en-US), <mspace>  
未实现 indentshift <mo> (en-US), <mspace>  
未实现 indentshiftfirst <mo> (en-US), <mspace>  
未实现 indentshiftlast <mo> (en-US), <mspace>  
未实现 indenttarget <mo> (en-US), <mspace>  
未实现 infixlinebreakstyle <mstyle> (en-US) Specifies the default linebreakstyle to use for infix operators.
largeop <mo> (en-US) Specifies whether the operator should be drawn larger than normal.
length <msline>  
未实现 linebreak <mo> (en-US), <mspace>  
未实现 linebreakmultchar <mo> (en-US), <mspace>  
未实现 linebreakstyle <mo> (en-US), <mspace>  
未实现 lineleading <mo> (en-US), <mspace>  
linethickness <mfrac> (en-US) The thickness of the horizontal fraction line.
未实现 location <mscarries>  
未实现 longdivstyle <mlongdiv> Controls the style of the long division layout.
lspace <mo> (en-US), <mpadded> (en-US) The amount of space before the operator (see length for values and units).
lquote <ms> (en-US) The opening quote character (depends on dir) to enclose the content. The default value is "&quot;".
mathbackground All The background color. You can use #rgb, #rrggbb and HTML color names.
mathcolor All The text color. You can use #rgb, #rrggbb and HTML color names.
mathsize <mi> (en-US), <mn> (en-US), <mo> (en-US), <ms> (en-US), <mtext> (en-US) The size of the content. Starting with Gecko 20.0 (Firefox 20 / Thunderbird 20 / SeaMonkey 2.17) unitless values are allowed and are interpreted as N times of the default size.
mathvariant <mi> (en-US), <mn> (en-US), <mo> (en-US), <ms> (en-US), <mtext> (en-US) The logical class of the identifier, which varies in typography.
maxsize <mo> (en-US) The maximum size of the operator.
未实现 minlabelspacing <mtable> (en-US) A length value specifing the minimum space between a label and the adjacent cell in the row.
minsize <mo> (en-US) The minimum size of the operator.
movablelimits <mo> (en-US) Specifies whether attached under- and overscripts move to sub- and superscript positions.
notation <menclose> (en-US) A list of notations, separated by white space, to apply to the child elements.
numalign <mfrac> (en-US) The alignment of the numerator over the fraction.
open <mfenced> (en-US) A string for the opening delimiter.
未实现 overflow <math> If an expression is too long to fit in the allowed width, this attribute sets the preferred handling.
未实现 position <msgroup>, <msrow>, <mscarries>, <msline>  
rowalign <mtable> (en-US), <mtd> (en-US), <mtr> (en-US) Specifies the vertical alignment of table cells.
rowlines <mtable> (en-US) Specifies table row borders.
rowspacing <mtable> (en-US) Specifies the space between table rows.
rowspan <mtd> (en-US) A non-negative integer value that indicates on how many rows does the cell extend.
rspace <mo> (en-US) The amount of space after the operator.
rquote <ms> (en-US) The closing quote mark (depends on dir) to enclose the content. The default value is "&quot;".
scriptlevel <mstyle> (en-US) Controls mostly the font-size. The higher the scriptlevel, the smaller the font size.
scriptminsize <mstyle> (en-US) Specifies a minimum font size allowed due to changes in scriptlevel.
Starting with Gecko 20.0 (Firefox 20 / Thunderbird 20 / SeaMonkey 2.17) unitless values and percent values are allowed and interpreted as multiple of "8pt".
scriptsizemultiplier <mstyle> (en-US) Specifies the multiplier to be used to adjust font size due to changes in scriptlevel.
selection <maction> The child element which is addressed by the action.
separator <mo> (en-US) There is no visual effect for this attribute, but it specifies whether the operator is a separator (such as commas).
separators <mfenced> (en-US) A sequence of zero or more characters to be used for different separators.
未实现 shift <msgroup>  
未实现 side <mtable> (en-US) Specifies the position where <mlabeledtr> label elements should be placed.
未实现 src <mglyph> The location of the image resource.
未实现 stackalign <mstack>  
stretchy <mo> (en-US) Specifies whether the operator stretches to the size of the adjacent element.
subscriptshift <mmultiscripts> (en-US), <msub>, <msubsup> The minimum space by which to shift the subscript below the baseline of the expression.
supscriptshift <mmultiscripts> (en-US), <msup>, <msubsup> The minimum space by which to shift the superscript above the baseline of the expression.
symmetric <mo> (en-US) If stretchy is true, this attribute specifies whether the operator should be vertically symmetric around the imaginary math axis (centered fraction line).
voffset <mpadded> (en-US) Sets the vertical position of the child content.
width <mglyph>, <mpadded> (en-US), <mspace>, <mtable> (en-US) Specifies the desired width. See lengths for possible values.
xmlns <math> Specifies the URI for the MathML namespace (http://www.w3.org/1998/Math/MathML)