From 89f2e71852e96062ea9b756bf92fbf4e894871b1 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Wed, 17 Nov 2021 17:09:19 +0100 Subject: Align node --- tests/typ/elements/image.typ | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/typ/elements/image.typ') diff --git a/tests/typ/elements/image.typ b/tests/typ/elements/image.typ index 43f93baf..84260a28 100644 --- a/tests/typ/elements/image.typ +++ b/tests/typ/elements/image.typ @@ -21,8 +21,7 @@ #image("../../res/tiger.jpg", width: 100%, height: 20pt, fit: "stretch") // Make sure the bounding-box of the image is correct. -#align(bottom, right) -#image("../../res/tiger.jpg", width: 40pt) +#align(bottom, right, image("../../res/tiger.jpg", width: 40pt)) --- // Test all three fit modes. -- cgit v1.2.3