Nested Properties

Properties can be nested. For example, you could set the font color of a fraction to 'teal' and set the font color on the numerator of the fraction to 'fuchsia'. The innermost properties always win. Keep in mind if you cut and paste parts of equations with properties set on them, they will appear differently if the properties were set as sticky or non-sticky.

Sticky properties (Apply to each token):

<math>
  <mrow>
    <mstyle mathcolor='teal'>
      <mfrac>
        <mi mathcolor='fuchsia'>x</mi>
        <mi>y</mi>
      </mfrac>
    </mstyle>
  </mrow>
</math>

An example of nested properties

See also: