template-thesis-matisse/lib/general.typ

31 lines
536 B
Typst

// ------------ SYMBOLS/ABBREVIATIONS ------------
#let ie = [_i.e._,]
#let eg = [_e.g._,]
#let etc = [_etc._]
#let etal = [_et al._]
// ------------ FORMATING ------------
#let paragraph(title, body) = [_ #title _ #h(1em) #body]
#let epigraph(attribution, body) = align(center, {
quote(
block: true,
attribution: attribution,
body
)
v(.7cm)
line(length: 100%, stroke: .2mm)
v(.7cm)
})
#let highlight(fill: luma(230), content) = {
block(
inset: 8pt,
radius: 4pt,
fill: fill,
content
)
}