30 lines
585 B
Typst
30 lines
585 B
Typst
#import "matisse-thesis-var.typ": school-color
|
|
|
|
// ------------ 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 = block.with(
|
|
fill: school-color.lighten(45%), // luma(230)
|
|
width: 100%,
|
|
inset: 8pt,
|
|
radius: 4pt,
|
|
)
|