Added the question environment.

This commit is contained in:
orca 2024-03-29 08:55:24 +01:00
parent 5690ce536a
commit a4612d68ab
Signed by: orca
GPG Key ID: 6923B8DFED96A68A
3 changed files with 3 additions and 1 deletions

View File

@ -18,7 +18,7 @@
This packages aims to provide a good enough interface for writing a mathematical course in it.
As of now, it consists of the most used mathematical environments in courses #footnote[The environments provided are: `proposition`, `lemma`, `theorem`, `corollary`,
`definition`, `remark`, `example`, `exercise`, `proof`, and `numbered-equation`.].
`definition`, `remark`, `example`, `exercise`, `question`, `proof`, and `numbered-equation`.].
= How to use

View File

@ -20,4 +20,5 @@
#let remark-id = "Remarque"
#let example-id = "Exemple"
#let exercise-id = "Exercice"
#let exercise-id = "Question"
#let proof-id = "Démonstration"

View File

@ -56,6 +56,7 @@
#let definition(body, name: "") = math-block(name: name, id: definition-id, decoration: "outline", body)
#let exercise(body, name: "") = math-block(name: name, id: exercise-id, decoration: "none", body + v-space)
#let question(body, name: "") = math-block(name: name, id: question-id, decoration: "none", body + v-space)
#let remark(body, name: "") = math-block(name: name, id: remark-id, emphasis: "italics", decoration: "none", body + v-space)
#let example(body, name: "") = math-block(name: name, id: example-id, emphasis: "italics", decoration: "none", body + v-space)