|
|
|
@ -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]
|
|
|
|
|