Skip to main content

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.

<p>Sticky properties (Apply to each token):</p><p><pre><math> <mrow> <mstyle mathcolor='teal'> <mfrac> <mi mathcolor='fuchsia'>x</mi> <mi>y</mi> </mfrac> </mstyle> </mrow> </math></pre></p><img></img>

See also: