From 2c7f2c005a214e8b0c1afbe9f4dab29dead8dfb0 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Mon, 27 Mar 2023 12:50:00 +0200 Subject: Parse decimals as a unit Fixes #257. --- tests/typ/math/frac.typ | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/typ/math') diff --git a/tests/typ/math/frac.typ b/tests/typ/math/frac.typ index 2e915de2..15b5da33 100644 --- a/tests/typ/math/frac.typ +++ b/tests/typ/math/frac.typ @@ -27,6 +27,7 @@ $ 1/2/3 = (1/2)/3 = 1/(2/3) $ --- // Test precedence. $ a_1/b_2, 1/f(x), zeta(x)/2, "foo"[|x|]/2 \ + 1.2/3.7, 2.3^3.4 \ 🏳️‍🌈[x]/2, f [x]/2, phi [x]/2, 🏳️‍🌈 [x]/2 \ +[x]/2, 1(x)/2, 2[x]/2 \ (a)b/2, b(a)[b]/2 $ -- cgit v1.2.3