Fixed displayed name for some math environments.

Added set rules for vectors and matrices.
This commit is contained in:
orca 2024-01-17 06:30:05 +01:00
parent dde2ca4c63
commit 61f71ce629
Signed by: orca
GPG Key ID: 6923B8DFED96A68A
1 changed files with 6 additions and 2 deletions

View File

@ -67,8 +67,8 @@
// 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: lemma-text)
#let corrolary(body, name: "") = math-block(body, name: name, id: lemma-text)
#let theorem(body, name: "") = math-block(body, name: name, id: theorem-text)
#let corrolary(body, name: "") = math-block(body, name: name, id: corrolary-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")
@ -97,6 +97,10 @@
set par(leading: 0.55em, justify: true)
set heading(numbering: "1.")
/* Mathematics. */
set math.mat(delim: "[", gap: 1em)
set math.vec(delim: "[", gap: 1em)
/* Show headings like in asmart. */
show heading: it => {
set block(above: 1.8em, below: 1.2em)