prev  ( testsuite > Presentation > GeneralLayout > mfrac > mfracSfonts13  )  next (show test run result)

Alternatives: (mml file)  (full) (simple) (plain) (form) (slideshow)
File:Presentation/GeneralLayout/mfrac/mfracSfonts13
CVS-ID:
Author:Robert Miner and Jeff Schaefer, Geometry Technologies
Description:This example tests how the <i>fontsize</i>, <i>fontstyle</i> and <i>fontweight</i> attributes inherit from <mstyle> to <mfrac>. In particular, these tests show how the line thickness of the bar is affected by these attributes.

passed (p) failed (f) not-tested (n) broken-test (b) some parts pass (s)


Sample Rendering:

Created by: webeq

Your browser's rendering:

1 y + 3 1 y + 3 1 y + 3

Source Code:

<math xmlns="http://www.w3.org/1998/Math/MathML"> 
  <mrow> 
    <mstyle fontweight="bold" fontsize="7px"> 
      <mfrac> 
        <mn>1</mn> 
        <mrow> 
          <mi>y</mi> 
          <mo>+</mo> 
          <mn>3</mn> 
        </mrow> 
      </mfrac> 
    </mstyle> 
    <mstyle fontstyle="normal"> 
      <mfrac> 
        <mn>1</mn> 
        <mrow> 
          <mi>y</mi> 
          <mo>+</mo> 
          <mn>3</mn> 
        </mrow> 
      </mfrac> 
    </mstyle> 
    <mstyle fontsize="12pt"> 
      <mfrac> 
        <mn>1</mn> 
        <mrow> 
          <mi>y</mi> 
          <mo>+</mo> 
          <mn>3</mn> 
        </mrow> 
      </mfrac> 
    </mstyle> 
  </mrow> 
</math>