template-thesis-matisse/lib/general.typ
2025-06-25 11:52:01 +02:00

29 lines
499 B
Typst

// ------------ SYMBOLS/ABBREVIATIONS ------------
#let ie = [_i.e._,]
#let eg = [_e.g._,]
#let etc = [_etc._]
#let etal = [_et al._]
// ------------ FORMATING ------------
#let paragraph(title) = [#title #h(1em)]
#let epigraph(attribution, body) = align(right, box(width: 50%)[
#set align(left)
#quote(
block: true,
attribution: attribution,
body
)
])
#let highlight(fill: luma(230), content) = {
block(
inset: 8pt,
radius: 4pt,
fill: fill,
content
)
}