tweak paragraph and epigraph

This commit is contained in:
Jean-Marie 'Histausse' Mineau 2025-06-26 17:13:09 +02:00
parent 4c065799f7
commit 2af94a6c61
Signed by: histausse
GPG key ID: B66AEEDA9B645AD2

View file

@ -8,16 +8,18 @@
// ------------ FORMATING ------------ // ------------ FORMATING ------------
#let paragraph(title) = [#title #h(1em)] #let paragraph(title, body) = [_ #title _ #h(1em) #body]
#let epigraph(attribution, body) = align(right, box(width: 50%)[ #let epigraph(attribution, body) = align(center, {
#set align(left) quote(
#quote(
block: true, block: true,
attribution: attribution, attribution: attribution,
body body
) )
]) v(.7cm)
line(length: 100%, stroke: .2mm)
v(.7cm)
})
#let highlight(fill: luma(230), content) = { #let highlight(fill: luma(230), content) = {
block( block(