<mdn>
The <mdn>
is a Display Math
component that renders a block of numbered, aligned display mathematics when used in
combination with the <mrow/>
component.
Attributes and Properties
Attribute | Type | Values |
---|---|---|
anchor = "…" | point | |
draggable = "…" | boolean | "true" "false" |
layer = "…" | number | |
positionFromAnchor = "…" | text | "upperright" "upperleft" "lowerright" "lowerleft" "top" "bottom" "left" "right" "center" |
Property | Type |
---|---|
$m.anchor | point |
$m.backgroundColor | text |
$m.disabled | boolean |
$m.draggable | boolean |
$m.fixed | boolean |
$m.fixLocation | boolean |
$m.hidden | boolean |
$m.latex | latex |
$m.layer | number |
$m.positionFromAnchor | text |
$m.text | text |
$m.textColor | text |
$m.textStyleDescription | text |
Example: <mdn>
with Latex input
In the sample code above, the <mdn>
component is used with
nested <mrow>
components to create aligned, numbered equations. Equations
align vertically where the text &
is entered in the <mrow>
. Note that the
numbering of an individual <mrow>
within an <mdn>
can be
suppressed by setting the number
attribute of the <mrow>
to false
.
Example: <mdn>
with nested <math>
Although <mdn>
is a Display Math component and is designed
to accept expressions in LaTeX, it is also acceptable to nest content
within a <math>
component. The text marker &
must occur
outside any nested <math>
components.