feat: add chevrons helper

This commit is contained in:
Popa committed 2026-11-03 16:08:19 +01:00
1 parent af8c7de08c
commit 05b50ba236
2 files changed
+6 -3

No files matched your search

+5 -2
View File
@@ -11,13 +11,16 @@
]
}
#let _qed = $square$
#let chevrons(..children) = {
let body = children.pos().join(", ")
math.lr([$chevron.l #body chevron.r$])
}
#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")
+1 -1
View File
@@ -3,4 +3,4 @@
#import "title-page.typ": title-page
#import "lecture.typ": lecture, lecture-counter, reset-lectures
#import "boxes.typ": *
#import "helpers.typ": grad, Im, Re, ord, qed, qed-equation, render-footnote-entry, ü
#import "helpers.typ": Im, Re, chevrons, grad, ord, qed, qed-equation, render-footnote-entry, ü