From b4cb6001a7a763b44ac5a5c923d1be221dc1eacc Mon Sep 17 00:00:00 2001 From: Iago-lito Date: Wed, 29 Jul 2026 13:06:18 +0200 Subject: [PATCH] Bump default miter-limit for stealth marker. This is a hacky first shot at #1124. I am not liking it because it would override user-defined `miter-limit`. Can someone provide guidance how to better raise this default values for arrows so they remain pointy by default as most likely expected? --- src/mark-shapes.typ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mark-shapes.typ b/src/mark-shapes.typ index b9c29adf..1889c5d7 100644 --- a/src/mark-shapes.typ +++ b/src/mark-shapes.typ @@ -157,7 +157,7 @@ ((0,0), (l, w / 2), (l - i, 0), (l, -w / 2)) } - fast-line(..pts, stroke: style.stroke, fill: style.fill, close: true) + fast-line(..pts, stroke: (..style.stroke, miter-limit: 100), fill: style.fill, close: true) create-triangle-tip-and-base-anchor(style, (0, 0), (l - i, 0)) }, curved-stealth: (style) => {