summaryrefslogtreecommitdiff
path: root/tests/suite/visualize/gradient.typ
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/visualize/gradient.typ
parent92aacdb480286a8a1962a49843e0c271f6ef93a8 (diff)
Fix bug in `math.frac` layout code (#5177)
Diffstat (limited to 'tests/suite/visualize/gradient.typ')
-rw-r--r--tests/suite/visualize/gradient.typ4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/suite/visualize/gradient.typ b/tests/suite/visualize/gradient.typ
index ff1aef3a..d66241f7 100644
--- a/tests/suite/visualize/gradient.typ
+++ b/tests/suite/visualize/gradient.typ
@@ -497,7 +497,7 @@ $ nabla dot bold(E) = frac(rho, epsilon_0) $
#show math.equation: set text(fill: gradient.linear(..color.map.rainbow))
#show math.equation: box
-$ x_"1,2" = frac(-b +- sqrt(b^2 - 4 a c), 2 a) $
+$ x_"1,2" = frac(-b plus.minus sqrt(b^2 - 4 a c), 2 a) $
--- gradient-math-mat ---
// Test on matrix
@@ -529,7 +529,7 @@ $ A = mat(
7, 8, 9
) $
-$ x_"1,2" = frac(-b +- sqrt(b^2 - 4 a c), 2 a) $
+$ x_"1,2" = frac(-b plus.minus sqrt(b^2 - 4 a c), 2 a) $
--- gradient-math-misc ---
// Test miscellaneous