diff --git a/example/main.pdf b/example/main.pdf deleted file mode 100644 index 8f9afd4..0000000 Binary files a/example/main.pdf and /dev/null differ diff --git a/example/questions/01-Example.typ b/example/questions/01-Example.typ index 53f5eca..d5c7d6e 100644 --- a/example/questions/01-Example.typ +++ b/example/questions/01-Example.typ @@ -38,7 +38,7 @@ Select all true statements about the manager-worker framework. #multi-select( - cols: 1, + cols: 2, rows: 4, none-above: auto, correct()[If one program crashes, the others keep going.], diff --git a/src/questions/multiple-choice.typ b/src/questions/multiple-choice.typ index 3997a2f..0913677 100644 --- a/src/questions/multiple-choice.typ +++ b/src/questions/multiple-choice.typ @@ -78,7 +78,7 @@ grid( columns: 3, column-gutter: 5pt, - align: horizon, + align: top, [#h(6pt)], selection(), [#body], ) } @@ -133,7 +133,7 @@ if type(b) == content { result = choice(_choice, b) } (result,) } - + states.answer-letters.update(1) if none-above != none { let num-items = body.pos().len() @@ -165,7 +165,7 @@ } )) } - + grid( columns: cols, column-gutter: 1em, row-gutter: 1em, ..lst.slice(0, -1), ..lst.slice(-1)