<msgroup> is used to group rows inside <mstack> element and <mlongdiv> elements to have position relative to the alignment of stack. <msgroup> element with shift attribute can be used to create simple multiplications.
Here is the simple syntax to use this tag −
<msgroup> expression </msgroup>
Here is the description of all the parameters of this tag −
expression − expression.
Here is the description of all the attributes of this tag −
position − to specify the horizontal position of the rows within the group relative the position controlled by the containing msgroup (as per its position and shift attributes). Default value is 0.
shift − to specify an incremental shift of position for successive children (rows or groups) within the group. Default value is 0.
<math xmlns = "http://www.w3.org/1998/Math/MathML"> <mstack> <msgroup> <mn>123</mn> <msrow> <mo>×</mo> <mn>321</mn> </msrow> </msgroup> <msline/> <msgroup shift = "1"> <mn>123</mn> <mn>246</mn> <mn>369</mn> </msgroup> <msline/> <mn>39483</mn> </mstack> </math>