diff --git a/exam/demo.typ b/exam/demo.typ index dacaaf9..a1f69dc 100644 --- a/exam/demo.typ +++ b/exam/demo.typ @@ -1,13 +1,12 @@ -#import "@ysec/exam:0.1.0": exam, question, reponse -#show: doc => exam( +#import "@y-sec/exam:0.1.0": exam, question, reponse +#show: exam( title: "Examen en Typst", subtitle: "Y-Security - Typst Essentials", course: "TES", - date: datetime(year: 2024, month: 5, day: 27), + date: datetime(year: 2050, month: 1, day: 1), author: "Maxime Augier", time: "45 minutes", allowed: "une page A4 (recto-verso) de résumé personnel", - doc ) = Questions et Réponses diff --git a/exam/lib.typ b/exam/lib.typ index f21e089..c8338e9 100644 --- a/exam/lib.typ +++ b/exam/lib.typ @@ -29,7 +29,7 @@ #let exam(title: "Exam", course: none, date: none, class: none, year: none, author: none, subtitle: none, indications: none, - time: none, allowed: none, doc) = { + time: none, allowed: none) = doc => { { set text(font: "Montserrat")