feat: add lecture notes Typst template v0.1.0

This commit is contained in:
Popa committed 2026-10-30 19:45:43 +01:00
1 parent 4664df1af3
commit e6a09ef7c3
10 files changed
+581

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
#let render-footnote-entry(entry, numbering-pattern: "[1]") = {
let loc = entry.note.location()
let mark = numbering(numbering-pattern + ":", ..counter(footnote).at(loc))
pad(left: entry.indent)[
#grid(
columns: (auto, 1fr),
gutter: 0.3em,
mark, entry.note.body,
)
]
}
#let _qed = $square$
#let qed-equation(eq) = {
set math.equation(numbering: _ => _qed, number-align: right + bottom)
eq
}
#let qed = [#h(1fr)#_qed]
#let Im = math.op("Im")
#let Re = math.op("Re")
#let ü = text(font: "Fira Sans", size: 0.85em, weight: 600)[[Ü]]
#let ord = math.op("ord")