<mrow>
<mrow>
is a Display Math
component that renders a single line within a block of aligned display mathematics when
nested within the <md>
or the <mdn>
component.
Attributes and Properties
Attribute | Type | Values |
---|---|---|
anchor = "…" | point | |
draggable = "…" | boolean | "true" "false" |
layer = "…" | number | |
number = "…" | "true" "false" | |
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.equationTag | text |
$m.fixed | boolean |
$m.fixLocation | boolean |
$m.hidden | boolean |
$m.latex | latex |
$m.layer | number |
$m.math | math |
$m.positionFromAnchor | text |
$m.text | text |
$m.textColor | text |
$m.textStyleDescription | text |
Example: <md>
with nested <mrow>
children
The data contained within an <md>
block must be contained in
an <mrow>
. Equations and content will align vertically
where the &
symbol is entered in each row.
Example: <mdn>
with nested <mrow>
children
The data contained within an <mdn>
block must be contained in
an <mrow>
. Equations and content will align vertically where the &
symbol is entered in each row.
Example: <mrow>
cannot contain <answer>
or <mathInput/>
An <mrow>
component cannot contain an <answer>
or a <mathInput/>
.
Example: <mrow>
with referenced <math>
Computational DoenetML components, such as <math>
, or <derivative>
, can be nested within or referenced within an <mrow>
component.
Exceptions: The <answer>
component, the <mathInput/>
component, and other <md>
components cannot be nested within an <mrow>
component.
Attribute Example: number
The number
attribute can be set to false
to prevent the default numbering of an individual <mrow>
within an <mdn>
.
Property Example: latex
The latex
property returns the LaTeX code for rendering the <mrow>
.
Property Example: text
The text
property returns the text value of the <mrow>
.