choicefunction
#choice(
body,
bubble: "circle",
correct: false,
outset: auto,
size: auto,
stroke: auto,
solution-color: auto,
solution-background-color: auto,
)A single bubble (round or square) followed by the choice it labels. For a list of choices, use #choices[..].
When solutions are shown, a correct: true bubble is filled in to indicate it is a correct choice.
Arguments
bodydefaultnone| content | str | int | floatpositionalThe text of the choice, shown after the bubble. Leave it out (e.g.
#choice[]) for a bubble on its own.bubbledefault"circle"| "square"The shape of the bubble:
"circle" for "select one", "square" for "select all that apply".correctbooldefaultfalseWhether this choice is correct; has an effect only when solutions are shown.
The space around the bubble, specified like a
box's inset. Sides given replace those of config's bubble-outset; the others are kept. Setting to auto uses config's bubble-outset.The outline of the bubble, specified like
config's bubble-stroke (e.g. .15em, blue, or .15em + blue). What it leaves out, its thickness or its color, is config's. Setting to auto uses config's bubble-stroke.The primary color for a correct bubble; i.e., the color of its outline, check mark, and text when filled in. Setting to
auto uses config's solution-color.The background color for a correct bubble when filled in. Setting to
auto uses config's solution-background-color.