<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

Attributes for <men>
AttributeTypeValues
anchor = "…"point
draggable = "…"boolean"true" "false"
layer = "…"number
positionFromAnchor = "…"text"upperright" "upperleft" "lowerright" "lowerleft" "top" "bottom" "left" "right" "center"
Props for <men name="m">
PropertyType
$m.anchorpoint
$m.backgroundColortext
$m.disabledboolean
$m.draggableboolean
$m.equationTagtext
$m.fixedboolean
$m.fixLocationboolean
$m.hiddenboolean
$m.latexlatex
$m.layernumber
$m.mathmath
$m.positionFromAnchortext
$m.texttext
$m.textColortext
$m.textStyleDescriptiontext

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).