summaryrefslogtreecommitdiff
path: root/tests/suite/math/root.typ
diff options
context:
space:
mode:
authorMax <max@mkor.je>2025-03-11 10:18:15 +0000
committerGitHub <noreply@github.com>2025-03-11 10:18:15 +0000
commit96f695737174449cbd9efbf4954b676b9bb35056 (patch)
tree0a636b4d436f38267bdde5aa7ae74276648fb49d /tests/suite/math/root.typ
parent3650859ae8823f47c9f50db6ad5ed52a0477bf15 (diff)
Fix `math.root` frame size (#6021)
Diffstat (limited to 'tests/suite/math/root.typ')
-rw-r--r--tests/suite/math/root.typ6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/suite/math/root.typ b/tests/suite/math/root.typ
index df339fa8..b70b4b9b 100644
--- a/tests/suite/math/root.typ
+++ b/tests/suite/math/root.typ
@@ -44,3 +44,9 @@ $ root(2, x) quad
$ √2^3 = sqrt(2^3) $
$ √(x+y) quad ∛x quad ∜x $
$ (√2+3) = (sqrt(2)+3) $
+
+--- math-root-frame-size-index ---
+// Test size of final frame when there is an index.
+$ a root(, 3) & a root(., 3) \
+ a sqrt(3) & a root(2, 3) \
+ a root(#h(-1em), 3) & a root(123, 3) $