v0.3.0, add customizable fill lightness

This commit is contained in:
Gaspard Jankowiak 2025-12-15 10:52:18 +01:00
commit 8668ad46e8
4 changed files with 19 additions and 13 deletions

View file

@ -1,4 +1,4 @@
#import "@local/exam:0.2.0": exam, exercise, exercise-items, mtext, horiz-only
#import "@local/exam:0.3.0": exam, exercise, exercise-items, horiz-only, mtext
// General configuration
#show: exam.with(
@ -36,6 +36,9 @@
// custom numbering of exercises
// exercise-numbering: "1",
// custom filling lightness for headings
// fill-luma: 150,
)
// First exercise
@ -54,8 +57,8 @@ Let $f : (0, +infinity) → (0, +infinity)$ with $f (x) = e^(-x)$.
// Several sub-questions
#exercise-items((
(1, [Is $f$ injective?]), // The first argument is the number
// of points the item is worth
(1, [Is $f$ injective?]), // The first argument is the number
// of points the item is worth
(1, [Is $f$ surjective?]),
(2, [Is $f$ bijective?]),
))