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.
<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>
Author: Robert Miner and Jeff Schaefer, Geometry Technologies