examyv1.1.0

rubricfunction

#rubric(body, points: none, annotation: none, trace: auto)

A rubric item, or a group of items, for grading a question/part/subpart. Rubrics can be written in the question's rubric argument or anywhere in its body. Rubrics are only shown when config's show-rubrics is set and by default take up no space.

A rubric containing other rubrics is a group: its first paragraph is the group's title, and the rubrics inside are its items. Other text is shown as a note.

Arguments

bodycontent | strrequiredpositional
The criterion for the item, or a group's title and items.
pointsdefaultnone| int | float
The points for this rubric item (positive or negative).
annotationdefaultnone| content | str
A short note for the grader, shown at the top of the rubric (e.g. annotation: [pick one]).
tracedefaultautorubric-trace| bool

Whether to draw a dotted line from where this rubric item is written to the rubric. Setting to auto uses config's rubric-trace.

An item inside a group is traced with its group: the line runs from where the group is written, and the group's trace decides whether it is drawn. The item's own trace is not used.

Note: items written in a question/part/subpart's rubric argument are never traced.