Code formatting.
This commit is contained in:
parent
140b6d02b4
commit
121e5f7758
|
@ -36,13 +36,15 @@
|
|||
}
|
||||
|
||||
// Functions we will directly use.
|
||||
#let proposition(body, name: "") = math-block(body, name: name, id: proposition-text)
|
||||
#let lemma(body, name: "") = math-block(body, name: name, id: lemma-text)
|
||||
#let theorem(body, name: "") = math-block(body, name: name, id: theorem-text)
|
||||
#let corollary(body, name: "") = math-block(body, name: name, id: corollary-text)
|
||||
#let definition(body, name: "") = math-block(body, name: name, id: definition-text, emphasis: "italics", decoration: "outline")
|
||||
#let remark(body, name: "") = math-block(body + v(0.5em), name: name, id: remark-text, decoration: "none")
|
||||
#let example(body, name: "") = math-block(body + v(0.5em), name: name, id: example-text, decoration: "none")
|
||||
#let proposition(body, name: "") = math-block(name: name, id: proposition-text, body)
|
||||
#let lemma(body, name: "") = math-block(name: name, id: lemma-text, body)
|
||||
#let theorem(body, name: "") = math-block(name: name, id: theorem-text, body)
|
||||
#let corollary(body, name: "") = math-block(name: name, id: corollary-text, body)
|
||||
|
||||
#let remark(body, name: "") = math-block(name: name, id: remark-text, decoration: "none", body + v(0.5em))
|
||||
#let example(body, name: "") = math-block(name: name, id: example-text, decoration: "none", body + v(0.5em))
|
||||
|
||||
#let definition(body, name: "") = math-block(name: name, id: definition-text, decoration: "outline", emphasis: "italics", body)
|
||||
|
||||
/* It takes the body of the proof, and formats it by adding the QED
|
||||
symbol at the end, and the _#proof-text._ text at the front. */
|
||||
|
|
Loading…
Reference in New Issue