tweak paragraph and epigraph
This commit is contained in:
parent
4c065799f7
commit
2af94a6c61
1 changed files with 7 additions and 5 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue