This commit is contained in:
2025-05-22 11:48:37 +02:00
parent c34ad20166
commit 6dc2fcf4df
22 changed files with 1824 additions and 25 deletions

View File

@@ -15,8 +15,6 @@
// set heading(numbering: "1.1")
set par(justify: true)
// set par(justify: true)
// equation setup
show ref: equate
show: equate.with(number-mode: "label", breakable: false)
@@ -34,7 +32,6 @@
($..$, $quad$),
)
// shiroa/zeta setup
body
}
@@ -45,7 +42,14 @@
#let lin = math.op("lin")
#let arccot = math.op("arccot")
// custom operators
#let sign = math.op("sign")
#let rot = math.op("rot")
#let grad = math.op("grad")
#let div = math.op("div")
// flashcards
#let flashcard(id, front, back) = {
back
}

View File

@@ -76,21 +76,26 @@
// Other boxes and fields
#let note = thmbox( //nte
#let note = thmenv( //pro
"note",
"Note",
bodyfmt: body => [
// Just make the text normally formatted
#body #h(1fr)
]
none,
none,
(name, number, body, color: black) => [
#v(0.5em)
#align(left, [_Note_: #name #body]) #h(1fr) // float a QED symbol to the right
#v(0.5em)
]
).with(numbering: none)
#let remark = thmplain( //rem
#let remark = thmenv( //pro
"remark",
"Remark",
bodyfmt: body => [
#body #h(1fr)
]
none,
none,
(name, number, body, color: black) => [
#v(0.5em)
#align(left, [_Remark_: #name #body]) #h(1fr) // float a QED symbol to the right
#v(0.5em)
]
).with(numbering: none)
#let proof = thmenv( //pro
@@ -98,6 +103,7 @@
none,
none,
(name, number, body, color: black) => [
#v(0.5em)
#align(left, [_Proof_: #name #body]) #h(1fr) $square$ // float a QED symbol to the right
#v(0.5em)
]
@@ -109,3 +115,4 @@
fill: rgb("#efefff99"),
).with(numbering: none)