ZVON > References > MathML Reference

Go to Standard
Element:mfrac
Attributes:bevelled | class | id | linethickness | other | style | xlink:href | xref |
Parents:apply | bvar | ci | cn | condition | csymbol | declare | degree | domainofapplication | fn | interval | lambda | list | logbase | lowlimit | maction | math | matrix | matrixrow | menclose | merror | mfenced | mfrac | mlabeledtr | mmultiscripts | momentabout | mover | mpadded | mphantom | mroot | mrow | msqrt | mstyle | msub | msubsup | msup | mtable | mtd | mtr | munder | munderover | otherwise | piece | reln | semantics | set | uplimit | vector |
Children:apply | ci | cn | complexes | csymbol | declare | emptyset | eulergamma | exponentiale | false | fn | imaginaryi | infinity | integers | interval | lambda | list | maction | maligngroup | malignmark | matrix | matrixrow | menclose | merror | mfenced | mfrac | mi | mlabeledtr | mmultiscripts | mn | mo | mover | mpadded | mphantom | mprescripts | mroot | mrow | ms | mspace | msqrt | mstyle | msub | msubsup | msup | mtable | mtd | mtext | mtr | munder | munderover | naturalnumbers | none | notanumber | pi | piecewise | primes | rationals | reals | reln | semantics | set | true | vector |

Examples:

XHTML documentMathML Source
--- <mfrac>
<emph>numerator</emph>
<emph>denominator</emph> &lt;/mfrac>
XHTML documentMathML Source
---
<mrow>
     <mo> ( </mo>
     <mfrac linethickness="0">
          <mi> a </mi>
          <mi> b </mi>
     </mfrac>
     <mo> ) </mo>
</mrow>
<mfrac linethickness="2">
     <mfrac>
          <mi> a </mi>
          <mi> b </mi>
     </mfrac>
     <mfrac>
          <mi> c </mi>
          <mi> d </mi>
     </mfrac>
</mfrac>
XHTML documentMathML Source
---
<mfrac>
     <mn> 1 </mn>
     <mrow>
          <msup>
               <mi> x </mi>
               <mn> 3 </mn>
          </msup>
          <mo> + </mo>
          <mfrac>
               <mi> x </mi>
               <mn> 3 </mn>
          </mfrac>
     </mrow>
</mfrac>
<mo> = </mo>
<mfrac bevelled="true">
     <mn> 1 </mn>
     <mrow>
          <msup>
               <mi> x </mi>
               <mn> 3 </mn>
          </msup>
          <mo> + </mo>
          <mfrac>
               <mi> x </mi>
               <mn> 3 </mn>
          </mfrac>
     </mrow>
</mfrac>
XHTML documentMathML Source
---
<mfrac>
     <mrow>
          <mn> 1 </mn>
          <mo> + </mo>
          <msqrt>
               <mn> 5 </mn>
          </msqrt>
     </mrow>
     <mn> 2 </mn>
</mfrac>