solutionelement
#solution(
body,
width: none,
color: auto,
background-color: auto,
otherwise: none,
)A solution to a question/part/subpart, shown only when solutions are shown (see config's show-solutions).
Arguments
bodycontentrequiredpositionalThe solution content.
widthdefaultnone| auto | relativeThe width of the solution box. Setting to
auto fits the content; none lets the surrounding content decide (e.g. a solution on its own in an #answer-box[..] fills its width).otherwisedefaultnone| contentContent shown in place of the solution when solutions are hidden. Can be used to show, for example, lined paper when no solution is visible.
Note: to provide space for a student to write an answer use #answer-box[..] instead.