Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed example/main.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion example/questions/01-Example.typ
Original file line number Diff line number Diff line change
Expand Up @@ -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.],
Expand Down
6 changes: 3 additions & 3 deletions src/questions/multiple-choice.typ
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
grid(
columns: 3,
column-gutter: 5pt,
align: horizon,
align: top,
[#h(6pt)], selection(), [#body],
)
}
Expand Down Expand Up @@ -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()
Expand Down Expand Up @@ -165,7 +165,7 @@
}
))
}

grid(
columns: cols, column-gutter: 1em, row-gutter: 1em,
..lst.slice(0, -1), ..lst.slice(-1)
Expand Down