summaryrefslogtreecommitdiff
path: root/tests/suite/math
diff options
context:
space:
mode:
authorMax <me@mkor.je>2024-10-10 15:52:55 +0000
committerGitHub <noreply@github.com>2024-10-10 15:52:55 +0000
commitb5b92e21e9ae345cd900602ddbc6e3a980f538f3 (patch)
tree18c884424c1eca34c54948910bfe5b2f24889ff0 /tests/suite/math
parent92aacdb480286a8a1962a49843e0c271f6ef93a8 (diff)
Fix bug in `math.frac` layout code (#5177)
Diffstat (limited to 'tests/suite/math')
-rw-r--r--tests/suite/math/frac.typ4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/suite/math/frac.typ b/tests/suite/math/frac.typ
index b3ca8aa0..7f513930 100644
--- a/tests/suite/math/frac.typ
+++ b/tests/suite/math/frac.typ
@@ -41,3 +41,7 @@ $ a_1/b_2, 1/f(x), zeta(x)/2, "foo"[|x|]/2 \
+[x]/2, 1(x)/2, 2[x]/2 \
(a)b/2, b(a)[b]/2 \
n!/2, 5!/2, n !/2, 1/n!, 1/5! $
+
+--- math-frac-gap ---
+// Test that the gap above and below the fraction rule is correct.
+$ sqrt(n^(2/3)) $