Saturday, March 4, 2017

MathML - All Elements

Following is the list of important MathML elements.
  1. <maction> - Provides option to bind actions to subexpressions/expressions.
  2. <math> - It is top or root level element and is used to encapsulate each instance of MathML instance. Every valid MathML expression should be wrapped in outer <math> tag. It can contain any number of child elements. One math element cannot contain another math element tag.
  3. <menclose> - Renders its content inside an enclosing notation specified by the notation attribute.
  4. <merror> - Used to display contents as error message.
  5. <mfenced> - Provides the option to add custom opening and closing parentheses and separators to an expression.
  6. <mfrac> - Used to display fractions.
  7. <mglyph> - Used to display non-standard symbols where existing Unicode characters are not available.
  8. <mi> - Used to specify an identifier such as name of a variable, function or a constant etc. For example, <mi>PI</mi> .
  9. <mlabeledtr> - Used to represent a label in a row either on the left or on the right side using side attribute of mtable. Child elements of mlabeledtr must be mtd elements.
  10. <mmultiscripts> - Provides options to create tensor-like objects.
  11. <mn> - Used to specify a numerical literal like 3.14 etc. For example, <mn>3.14</mn>.
  12. <mo> - Used to specify an operator like +, - etc. For example, <mo>+</mo>.
  13. <mover> - Used to attach an accent or a limit over an expression.
  14. <mpadded> - Used to add extra padding and to set the general adjustment of position and size of enclosed contents.
  15. <mphantom> - Used to create space as it is rendered invisibly, keeping height, width, and baseline position intact.
  16. <mroot> - Used to display roots with an explicit index.
  17. <mrow> - Used to group any number of sub expressions in horizontal way.
  18. <ms> - Used to represent a string literal meant to be interpreted by programming languages and computer algebra systems.
  19. <mspace> - Used to display a blank space, where its size is set using its attributes.
  20. <msqrt> - Used to display square root.
  21. <mstyle> - Used to apply the style on its children.
  22. <msub> - Used to attach a subscript to an expression. It uses the following syntax: <msub> base subscript </msub>.
  23. <msubsup> - Used to attach both a subscript and a superscript, together, to an expression. It uses the following syntax: <msubsup> base subscript superscript </msubsup>.
  24. <msup> - Used to attach a superscript to an expression. It uses the following syntax: msup base superscript </msup>.
  25. <mtable> - Provides options to create tables or matrices.
  26. <mtd> - To represent a cell in a table or a matrix.
  27. <mtext> - Used to render text with no notational meaning, such as comments or annotations.
  28. <mtr> - Represents a row in a table or a matrix.
  29. <munder> - Provides option to attach an accent or a limit under an expression. It uses the following syntax: <munder> base underscript </munder>
  30. <munderover> - Provides option to attach accents or limits both under and over an expression. It uses the following syntax: </munderover> base underscript overscript </munderover>
  31. <semantics> - <semantics>,<annotation> and <annotation-xml> are used to add presentation and content markup and provides both, layout information and semantic meaning of mathematical expressions.

No comments:

Post a Comment