prev next
File: TortureTests/Complexity/simplePres.xml (mml file)
Author: Dave Doyle, Design Science
Description: Simple testing of presentation tags and attributes.
Sample Rendering: N/A

Your browser's rendering:

1 78 sin x y × a 2 x + 2 j x + 45 1 78 * x 2 3 = 1 23 + β 3 This is my string!


Source Code:

    <math>
      <mfenced open="{" separators=",."> 
        <mfrac> 
          <mn>1</mn> 
          <mn>78</mn> 
        </mfrac> 
        <mrow> 
          <mo>sin</mo> 
          <mi>x</mi> 
        </mrow> 
        <mi>y</mi> 
      </mfenced> 
      <mo>&times;</mo> 
      <msup> 
        <mi mathvariant="fraktur">a</mi> 
        <mrow> 
          <mn>2</mn> 
          <mi>x</mi> 
        </mrow> 
      </msup> 
      <mo>+</mo> 
      <msub> 
        <mn>2</mn> 
        <mi>j</mi> 
      </msub> 
      <mi>x</mi> 
      <mo>+</mo> 
      <mfrac> 
        <mn>45</mn> 
        <mfrac> 
          <mn>1</mn> 
          <mn>78</mn> 
        </mfrac> 
      </mfrac> 
      <mo>*</mo> 
      <mstyle color="blue" background="red" fontsize="24pt"> 
        <msubsup> 
          <mi>x</mi> 
          <mn color="green">2</mn> 
          <mn>3</mn> 
        </msubsup> 
      </mstyle> 
      <mo>=</mo> 
      <mstyle color="blue" background="lightblue" fontsize="16pt"> 
        <mroot> 
          <mfrac> 
            <mn>1</mn> 
            <mrow> 
              <mn>23</mn> 
              <mo>+</mo> 
              <mn>&beta;</mn> 
            </mrow> 
          </mfrac> 
          <mn>3</mn> 
        </mroot> 
      </mstyle> 
      <ms lquote="#" rquote="&quot;">This is my string!
      </ms>
    </math>
    

Test Suite Home