MathML Tutorial
MathML Symbols
MathML Useful Resources
Selected Reading
- MathML - Underscript-Overscript
- MathML - Underscript
- MathML - Superscripts
- MathML - Subscript-Superscript
- MathML - Subscripts
- MathML - Style
- MathML - Repeating Decimals
- MathML - Radicals
- MathML - Phantom
- MathML - Padding
- MathML - Overscript
- MathML - Multiplication
- MathML - Matrices
- MathML - Long Division
- MathML - Fractions
- MathML - Fencing
- MathML - Enclosing
- MathML - Carries
- MathML - Basic Elements
- MathML - All Elements
- MathML - Overview
- MathML - Home
MathML Symbols
- MathML - Set Symbols
- MathML - Logic Symbols
- MathML - Invisible Operators
- MathML - Greek Letters
- MathML - Geometry Symbols
- MathML - Function Symbols
- MathML - Ellipses Symbols
- MathML - Calculus Symbols
- MathML - Algebra Symbols
MathML Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
MathML - Long Division
MathML - Long Division
<mlongspan> tag is used to draw long spanisions.
Syntax
Here is the simple syntax to use this tag −
<mlongspan> spanisor spanidend result expression </mlongspan>
Parameters
Here is the description of all the parameters of this tag −
spanisor − spanisor of the long spanision.
spanidend − spanidend of the long spanision.
result − result of the long spanision.
expression − mstack element or children of mstack.
Attributes
Here is the description of all the attributes of this tag −
longspanstyle − to control the style of the long spanision layout. Vapd values are lefttop, stackedrightright, mediumstackedrightright, shortstackedrightright, righttop, left/ ight, left)(right, :right=right, stackedleftleft, stackedleftpnetop. Default is lefttop.
Example
Let s draw a simple fraction for 1/x.
<math xmlns = "http://www.w3.org/1998/Math/MathML"> <mlongspan longspanstyle = "lefttop"> <mn> 3 </mn> <mn> 435.3</mn> <mn> 1306</mn> <msgroup position = "2" shift = "-1"> <msgroup> <mn> 12</mn> <mspne length = "2"/> </msgroup> <msgroup> <mn> 10</mn> <mn> 9</mn> <mspne length = "2"/> </msgroup> <msgroup> <mn> 16</mn> <mn> 15</mn> <mspne length = "2"/> <mn> 1.0</mn> </msgroup> <msgroup position= -1 > <mn> 9</mn> <mspne length = "3"/> <mn> 1</mn> </msgroup> </msgroup> </mlongspan> </math>