feat: add lecture notes Typst template v0.1.0
This commit is contained in:
10 files changed
+581
No files matched your search
@@ -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")
|
||||
Reference in new issue
Block a user