prev  ( testsuite > Topics > Nesting > nestFrac1  )  next

Alternatives: (mml file)  (full) (simple) (plain) (form) (slideshow)
File:Topics/Nesting/nestFrac1
CVS-ID:
Author:Dave Doyle, Design Science
Description:Testing of multiply nested fractions.

Sample Rendering:

Created by: webeq

Your browser's rendering:

1 2 + 1 3 + 1 4 + 1 5 + 1 6 +

Source Code:

<math xmlns="http://www.w3.org/1998/Math/MathML"> 
  <mstyle displaystyle="true" scriptlevel="0"> 
    <mfrac linethickness="2"> 
      <mn>1</mn> 
      <mrow> 
        <msqrt> 
          <mn>2</mn> 
        </msqrt> 
        <mo form="infix">+</mo> 
        <mrow> 
          <mstyle displaystyle="true" scriptlevel="0"> 
            <mfrac> 
              <mn>1</mn> 
              <mrow> 
                <msqrt> 
                  <mn>3</mn> 
                </msqrt> 
                <mo form="infix">+</mo> 
                <mrow> 
                  <mstyle displaystyle="true" scriptlevel="0"> 
                    <mfrac> 
                      <mn>1</mn> 
                      <mrow> 
                        <msqrt> 
                          <mn>4</mn> 
                        </msqrt> 
                        <mo form="infix">+</mo> 
                        <mrow> 
                          <mstyle displaystyle="true" scriptlevel="0"> 
                            <mfrac> 
                              <mn>1</mn> 
                              <mrow> 
                                <msqrt> 
                                  <mn>5</mn> 
                                </msqrt> 
                                <mo form="infix">+</mo> 
                                <mrow> 
                                  <mstyle displaystyle="true" scriptlevel="0"> 
                                    <mfrac> 
                                      <mn>1</mn> 
                                      <mrow> 
                                        <msqrt> 
                                          <mn>6</mn> 
                                        </msqrt> 
                                        <mo form="infix">+</mo> 
                                        <mi>&#x2026;</mi> 
                                      </mrow> 
                                    </mfrac> 
                                  </mstyle> 
                                </mrow> 
                              </mrow> 
                            </mfrac> 
                          </mstyle> 
                        </mrow> 
                      </mrow> 
                    </mfrac> 
                  </mstyle> 
                </mrow> 
              </mrow> 
            </mfrac> 
          </mstyle> 
        </mrow> 
      </mrow> 
    </mfrac> 
  </mstyle> 
</math>