prev | ( testsuite > Presentation > GeneralLayout > mfenced > mfencedSfonts9 ) | next

Alternatives: | (mml file) (full) (simple) (plain) (form) (slideshow)
File: | Presentation/GeneralLayout/mfenced/mfencedSfonts9
CVS-ID: |
Author: | Robert Miner and Jeff Schaefer, Geometry Technologies
Description: | This example tests the interaction of <mfenced> with <mstyle> font and color attributes.
Sample Rendering:

Your browser's rendering:

a + b = α β = a + b

Source Code:

    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <mstyle mathbackground="#88cc88">
        <mfenced>
          <mrow>
            <mi>a</mi>
            <mo>+</mo>
            <mi>b</mi>
          </mrow>
        </mfenced>
      </mstyle>
      <mo>=</mo>
      <mstyle fontweight="bold">
        <mfenced>
          <mfrac>
            <mi>&#x03B1;</mi>
            <mi>&#x03B2;</mi>
          </mfrac>
        </mfenced>
      </mstyle>
      <mo>=</mo>
      <mstyle fontfamily="Helvetica">
        <mfenced open="[">
          <mrow>
            <mi>a</mi>
            <mo>+</mo>
            <mi>b</mi>
          </mrow>
        </mfenced>
      </mstyle>
    </math>