Compare commits

..

2 Commits

Author SHA1 Message Date
446f8f7176
main.typ: set default image width 2023-07-11 22:38:51 -04:00
69d1c5c088
main.typ: better spacing on figures 2023-07-11 22:34:00 -04:00

View File

@ -74,6 +74,22 @@
set text(size: normal-size, font: font, weight: "light")
show link: body => text(fill: rgb("#777777"), weight: "bold", body)
show math.equation: eq => eq
show figure: fig => {
show: pad.with(x: 1em)
set image(width: 50%)
set align(center)
v(1em)
fig.body
if fig.has("caption") {
v(1em, weak: true)
[Figure ]
if fig.numbering != none {
[#counter(figure).display(fig.numbering)]
}
[. ]
fig.caption
}
}
set table(inset: 10pt)
show heading: set text(font: heading_font, weight: "black")
show raw.where(block: true): txt => pad(