prev next
File: Presentation/GeneralLayout/mfenced/mfencedSfonts9.xml (mml file)
Author: Robert Miner and Jeff Schaefer, Geometry Technologies
Description: This example tests the interaction of <mfenced> with <mstyle> font and color attributes.
Sample Rendering:
Created by: webeq

Your browser's rendering:

a + b = α β = a + b


Source Code:

    <math> 
      <mstyle background='#88cc88'> 
        <mfenced> 
          <mrow> 
            <mi>a</mi> 
            <mo>+</mo> 
            <mi>b</mi> 
          </mrow> 
        </mfenced> 
      </mstyle> 
      <mo>=</mo> 
      <mstyle fontweight='bold'> 
        <mfenced> 
          <mfrac> 
            <mi>&alpha;</mi> 
            <mi>&beta;</mi> 
          </mfrac> 
        </mfenced> 
      </mstyle> 
      <mo>=</mo> 
      <mstyle fontfamily='Helvetica'> 
        <mfenced open='['> 
          <mrow> 
            <mi>a</mi> 
            <mo>+</mo> 
            <mi>b</mi> 
          </mrow> 
        </mfenced> 
      </mstyle> 
    </math>
  

Test Suite Home