From fac2550f7ee881ac20fca53596c649f6937bb76e Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Thu, 8 Feb 2024 21:45:51 -0500 Subject: [PATCH] main.typ: make figures better spaced --- main.typ | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main.typ b/main.typ index 120ecca..137f1bf 100644 --- a/main.typ +++ b/main.typ @@ -101,8 +101,11 @@ set text(size: normal-size, font: font, weight: "regular", lang: settings.lang) show link: text.with(fill: rgb("#5577bb"), weight: "bold") show math.equation: eq => eq + set figure.caption(position: top) + set figure(gap: 1em) + show figure.caption: emph show figure: fig => { - show: pad.with(x: 1em) + show: pad.with(x: 1em, y: 0.6em) show image: pad.with(y: 0.5em) set image(width: 50%) set align(center)