<proof>

A <proof> is a Sectional component. It is unnumbered and collapsible. Its rendered appearance is similar to an <aside>.

Attributes and Properties

Attributes for <proof>
AttributeTypeValues
aggregateScores = "…"boolean"true" "false"
asList = "…"boolean"true" "false"
boxed = "…"boolean"true" "false"
collapsible = "…"boolean"true" "false"
displayDigitsForCreditAchieved = "…"integer
includeAutoName = "…"boolean"true" "false"
includeAutoNameIfNoTitle = "…"boolean"true" "false"
includeAutoNumber = "…"boolean"true" "false"
includeAutoNumberIfNoTitle = "…"boolean"true" "false"
level = "…"
postponeRendering = "…""true" "false"
renameTo = "…"
sectionWideCheckWork = "…"boolean"true" "false"
showCorrectness = "…""true" "false"
startOpen = "…""true" "false"
submitLabel = "…"text
submitLabelNoCorrectness = "…"text
weight = "…"number
Props for <proof name="p">
PropertyType
$p.aggregateScoresboolean
$p.asListboolean
$p.boxedboolean
$p.collapsibleboolean
$p.creditAchievednumber
$p.disabledboolean
$p.displayDigitsForCreditAchievedinteger
$p.fixedboolean
$p.fixLocationboolean
$p.hiddenboolean
$p.includeAutoNameboolean
$p.includeAutoNameIfNoTitleboolean
$p.includeAutoNumberboolean
$p.includeAutoNumberIfNoTitleboolean
$p.openboolean
$p.percentCreditAchievednumber
$p.sectionNumbertext
$p.sectionWideCheckWorkboolean
$p.submitLabeltext
$p.submitLabelNoCorrectnesstext
$p.titletext
$p.weightnumber

Example: <proof> with default title

Within a DoenetML document, default titles for sectional components are auto-numbered. Sectional components such as <section> and <problem> are on the same counter, but a <proof> is not part of the document’s default numbering schema.


Example: <proof> with custom title

A custom <proof> title is creating by providing a <title> tag within the <proof>.


Attribute Example: startOpen

The startOpen attribute renders the <proof> box as open; it must be clicked once to close.