From 658e745b68c76a42960138fe2e594d363e1da1e3 Mon Sep 17 00:00:00 2001 From: Sytnyk Yehor Date: Tue, 11 Feb 2025 12:11:33 +0200 Subject: [PATCH] table captions left align --- template.typ | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/template.typ b/template.typ index 2b6b0e9..a3ee8fd 100644 --- a/template.typ +++ b/template.typ @@ -101,6 +101,8 @@ // figures set figure.caption(separator: [ -- ]) + show figure.where(kind: table): set figure.caption(position: top) + show figure.caption.where(kind: table): set align(left) let img = counter("image") let tab = counter("table") @@ -117,7 +119,6 @@ context str(counter(heading).get().at(0)) + "." + context tab.display() }, ) - show figure.where(kind: table): set figure.caption(position: top) // TODO: left align the caption // appearance of references to images and tables show ref: it => {