From 2af94a6c617daf24a2206847c5fb0c6e60794433 Mon Sep 17 00:00:00 2001 From: Jean-Marie 'Histausse' Mineau Date: Thu, 26 Jun 2025 17:13:09 +0200 Subject: [PATCH] tweak paragraph and epigraph --- lib/general.typ | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/lib/general.typ b/lib/general.typ index a3d98c0..4fccedc 100644 --- a/lib/general.typ +++ b/lib/general.typ @@ -8,16 +8,18 @@ // ------------ FORMATING ------------ -#let paragraph(title) = [#title #h(1em)] +#let paragraph(title, body) = [_ #title _ #h(1em) #body] -#let epigraph(attribution, body) = align(right, box(width: 50%)[ - #set align(left) - #quote( +#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(