prev next
File: Topics/Nesting/nestFrac1.xml (mml file)
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> 
      <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>&hellip;</mi> 
                                          </mrow> 
                                        </mfrac> 
                                      </mstyle> 
                                    </mrow> 
                                  </mrow> 
                                </mfrac> 
                              </mstyle> 
                            </mrow> 
                          </mrow> 
                        </mfrac> 
                      </mstyle> 
                    </mrow> 
                  </mrow> 
                </mfrac> 
              </mstyle> 
            </mrow> 
          </mrow> 
        </mfrac> 
      </mstyle> 
    </math>
  

Test Suite Home