Changed style for `exercise` and `remark`.

This commit is contained in:
orca 2024-02-05 07:59:22 +01:00
parent 5347a9aabd
commit 09e9d24708
Signed by: orca
GPG Key ID: 6923B8DFED96A68A
1 changed files with 3 additions and 2 deletions

View File

@ -55,10 +55,11 @@
#let definition(body, name: "") = math-block(name: name, id: definition-id, decoration: "outline", body)
#let remark(body, name: "") = math-block(name: name, id: remark-id, decoration: "none", body + v-space)
#let example(body, name: "") = math-block(name: name, id: example-id, decoration: "none", body + v-space)
#let exercise(body, name: "") = math-block(name: name, id: exercise-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)
/* It takes the body of the proof, and formats it by adding the QED
symbol at the end, and the _#proof-id._ text at the front. */
#let proof(body) = [_#proof-id._ #body #h(1fr) #qed#v-space]