math
Element<mglyph/>
<mi>
<mn>
<mo>
<mtext>
<mspace/>
<ms>
<mrow>
<mfrac>
<msqrt>
, <mroot>
<mstyle>
<merror>
<mpadded>
<mphantom>
<mfenced>
<menclose>
<msub>
<msup>
<msubsup>
<munder>
<mover>
<munderover>
<mmultiscripts>
<mtable>
<mtr>
<mlabeledtr>
<mtd>
<mstack>
<mlongdiv>
<msgroup>
<msrow>
<mscarries>
<mscarry>
<msline/>
<maction>
<cn>
<ci>
<csymbol>
<cs>
<apply>
<bind>
and <bvar>
<share>
semantics
<cerror>
<mstack>
mstack
is used to lay out rows of numbers that are aligned on each digit.
This is common in many elementary math notations such as 2D addition, subtraction, and multiplication.
The children of an mstack
represent rows, or groups of them,
to be stacked each below the previous row; there can be any number of rows.
An msrow
represents a row;
an msgroup
groups a set of rows together
so that their horizontal alignment can be adjusted together;
an mscarries
represents a set of carries to be
applied to the following row;
an msline
represents a line separating rows.
Any other element is treated as if implicitly surrounded by msrow
.
Each row contains ‘digits’ that are placed into columns.
The stackalign
attribute together with
the position
and shift
attributes of msgroup
,
mscarries
, and msrow
determine
to which column a character belongs.
The width of a column is the maximum of the widths of each ‘digit’ in that
column — carries do not participate in the
width calculation; they are treated as having zero width.
If an element is too wide to fit into a column, it overflows into the adjacent
column(s) as determined by the charalign
attribute.
If there is no character in a column, its width is taken to be the width of a 0
in the current language (in many fonts, all digits have the same width).
mstack
elements accept the attributes listed
below in addition to those specified in Section 3.1.10 Mathematics style attributes common to presentation elements.
Name  values  default 

align  ("top"  "bottom"  "center"  "baseline"  "axis"), rownumber?  axis 
specifies the vertical alignment of the mstack with respect to its environment.
The legal values and their meanings are the same as that for mtable 's
align attribute.


stackalign  "left"  "center"  "right"  "decimalpoint"  decimalpoint 
specifies which column is used to horizontally align the rows.
For "left", rows are aligned flush on the left;
similarly for "right", rows are flush on the right;
for "center", the middle column (or to the right of the middle, for an even number of columns)
is used for alignment.
Rows with nonzero position , or affected by a shift ,
are treated as if the
requisite number of empty columns were added on the appropriate side;
For "decimalpoint", the column used is the leftmost column in each
row that contains the decimalpoint character specified
using the decimalpoint attribute of mstyle (default ".").
If there is no decimalpoint character in the row, an implied decimal is assumed on the right of the first number in the row;


charalign  "left"  "center"  "right"  center 
specifies the horizontal alignment of digits within a column. If the content is larger than the column width, then it overflows the opposite side from the alignment. For example, for "right", the content will overflow on the left side; for center, it overflows on both sides.  
charspacing  length  "loose"  "medium"  "tight"  1 
specifies the amount of space to put between each column. 
free components MathML flex GWT LaTeX Editor Air plugin MathML flash math Mathematics Equation Widget Mobile flash LaTeX Mathematics FREE Apple iOS OMML Android iPad iPhone Microsoft Word Latex MathML OMML Free 