<solutions>

The <solutions> element is a specialized division that gathers and displays solutions from exercises in its scope. It can be placed inside a local division or in <backmatter> to collect solutions for a larger part of the document.

Use <solutions> when you want PreTeXt to assemble solutions automatically instead of copying them by hand.

Syntax

Attributes

Attributes for <solutions>
AttributeRequired?Values
admit = "…"optional"all"​"odd"​"even"​
component = "…"optionalstring​
divisional = "…"optionalstring​
inline = "…"optionalstring​
label = "…"optionalstring​
project = "…"optionalstring​
xml:id = "…"optionalstring​
xml:lang = "…"optionalstring​

Children

The following may appear as children: <conclusion> <idx> <introduction> <plaintitle> <shorttitle> <title>

Parents

This element may appear as an immediate child of the following elements: <appendix> <article> <backmatter> <chapter> <section> <subsection> <subsubsection>

Examples