MathML Fundamentals - Stacks of Characters mstack

Mstack is used to lay out rows of numbers that are aligned on each digit. 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. MathML Fundamentals

Mstack - stackalign 231197.8 6 2399 34532 345665 + 231197.8 6.678 2399 34532 345665 + 231197 6 2399 34532 345665 + 231197 6 2399 34532 345665 + 2311978 6 2399 34532 345665

MathML

<math >
	<mspace linebreak="newline" indentalign="center"></mspace>
	<mtext style="border:1px;" mathsize="50">Mstack - stackalign</mtext>

	<mspace linebreak="newline" indentalign="center"></mspace>
	<mrow style="border:1px;margin:5px">
		<mstack style="border:1px;margin:3px">
		    <mn>231197.8</mn>
		    <mn>6</mn>
		    <mn>2399</mn>
		    <mn>34532</mn>
		    <mn>345665</mn>
		</mstack>
		<mo>+</mo>
		<mstack style="border:1px;margin:3px">
		    <mn>231197.8</mn>
		    <mn>6.678</mn>
		    <mn>2399</mn>
		    <mn>34532</mn>
		    <mn>345665</mn>
		</mstack>
		<mo>+</mo>
		<mstack style="border:1px;margin:3px" stackalign="left">
		    <mn>231197</mn>
		    <mn>6</mn>
		    <mn>2399</mn>
		    <mn>34532</mn>
		    <mn>345665</mn>
		</mstack>
		<mo>+</mo>
		<mstack style="border:1px;margin:3px"  stackalign="center">
		    <mn>231197</mn>
		    <mn>6</mn>
		    <mn>2399</mn>
		    <mn>34532</mn>
		    <mn>345665</mn>
		</mstack>
		<mo>+</mo>
		<mstack style="border:1px;margin:3px" stackalign="right">
		    <mn>2311978</mn>
		    <mn>6</mn>
		    <mn>2399</mn>
		    <mn>34532</mn>
		    <mn>345665</mn>
		</mstack>
	</mrow>
	
</math>