From ececd074248a93d16fae08aeb596e89ff6e04814 Mon Sep 17 00:00:00 2001 From: bluebear94 Date: Tue, 20 Jun 2023 10:59:42 -0400 Subject: Make factorial take precedence over fraction in math expressions (#1487) Fixes #1475. --- tests/typ/math/frac.typ | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/typ') diff --git a/tests/typ/math/frac.typ b/tests/typ/math/frac.typ index 15b5da33..dc120ec3 100644 --- a/tests/typ/math/frac.typ +++ b/tests/typ/math/frac.typ @@ -30,4 +30,5 @@ $ 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 $ + (a)b/2, b(a)[b]/2 \ + n!/2, 5!/2, n !/2, 1/n!, 1/5! $ -- cgit v1.2.3