From 83a2aa0f1868214d4da3f09d3f1170df9f4c4aaf Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Wed, 27 Dec 2023 20:25:06 -0500 Subject: [PATCH] main.typ: fix figures' captions breaking off --- main.typ | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/main.typ b/main.typ index 35b835d..1eabaa6 100644 --- a/main.typ +++ b/main.typ @@ -104,14 +104,10 @@ set math.equation(numbering: "(1)") show figure: fig => { show: pad.with(x: 1em) + show image: pad.with(y: 0.5em) set image(width: 50%) set align(center) - v(1em) - fig.body - if fig.has("caption") { - v(1em, weak: true) - fig.caption - } + fig } set table(inset: 10pt, stroke: 0.5pt + black) show heading: set text(font: heading_font, weight: "black")