| prev | ( testsuite > Topics > ElementaryMathExamples > rec3-ElementaryMathExamples-08 ) | next | (show test run result) |
| Alternatives: | (mml file) (full) (simple) (plain) (form) (slideshow) |
| File: | Topics/ElementaryMathExamples/rec3-ElementaryMathExamples-08 |
| CVS-ID: | |
| Author: | MathML3 |
| Description: | MathML3 specification example |
Sample Rendering:
| |
Your browser's rendering:
Source Code:
<math xmlns="http://www.w3.org/1998/Math/MathML">
<mlongdiv longdivstyle="lefttop">
<mn> 3 </mn>
<mn> 435.3</mn>
<mn> 1306</mn>
<msgroup position="2" shift="-1">
<msgroup>
<mn> 12</mn>
<msline length="2"/>
</msgroup>
<msgroup>
<mn> 10</mn>
<mn> 9</mn>
<msline length="2"/>
</msgroup>
<msgroup>
<mn> 16</mn>
<mn> 15</mn>
<msline length="2"/>
<mn> 1.0</mn> <!-- aligns on '.', not the right edge ('0') -->
</msgroup>
<msgroup position="-1"> <!-- extra shift to move to the right of the "." -->
<mn> 9</mn>
<msline length="3"/>
<mn> 1</mn>
</msgroup>
</msgroup>
</mlongdiv>
</math>