<men>
The <men>
is a Display Math
component that renders auto-numbered, mathematical display text centered within the page. The <men>
component accepts DoenetML mathematical content as well as LaTeX.
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.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: <men>
with Latex input
The sample code above illustrates the use of Latex within an <men>
component
to render centered, numbered mathematical display text.
Example: <men>
with nested <math>
content
In the sample code above, the <men>
component is used to render centered,
numbered mathematical content within a paragraph. In this case,
content inside a <math>
component is embedded into the Latex expressions.
Example: <men>
with named mathematical content
In the sample code above, the named mathematical <function>
components
are defined in a <setup>
block and referenced within the <men>
component. This function is then evalutated at the
angle defined as a <number>
named angle1
with $$f($angle1)
.