summaryrefslogtreecommitdiff
path: root/tests/typ
diff options
context:
space:
mode:
authorbluebear94 <uruwi@protonmail.com>2023-06-20 10:59:42 -0400
committerGitHub <noreply@github.com>2023-06-20 16:59:42 +0200
commitececd074248a93d16fae08aeb596e89ff6e04814 (patch)
tree44902d6ddb1210e74b199d351017d348f70b26d3 /tests/typ
parent8513c2b0fb2275e5d14ea4efa77e38e026b4a920 (diff)
Make factorial take precedence over fraction in math expressions (#1487)
Fixes #1475.
Diffstat (limited to 'tests/typ')
-rw-r--r--tests/typ/math/frac.typ3
1 files changed, 2 insertions, 1 deletions
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! $