Compare commits

...
3 Commits
Author SHA1 Message Date
Popa aa08958393 fix: correct suffix formatting in statement header 2026-11-11 14:04:41 +01:00
Popa 05b50ba236 feat: add chevrons helper 2026-11-03 16:08:19 +01:00
Popa af8c7de08c fix: adjust header styling in statement 2026-11-03 15:15:22 +01:00
3 changed files with 7 additions and 5 deletions

No files matched your search

+1 -2
View File
@@ -61,10 +61,9 @@
let heading = text(
font: theme-state.get().text.sans-font,
weight: 600,
size: 0.9em,
fill: color.darken(20%),
)[#kind #mark#suffix.]
)[*#kind #mark*#suffix*.*]
let header = if note == none {
heading
+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, ü