summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/bugs/math-hide.pngbin0 -> 1719 bytes
-rw-r--r--tests/typ/bugs/math-hide.typ16
2 files changed, 16 insertions, 0 deletions
diff --git a/tests/ref/bugs/math-hide.png b/tests/ref/bugs/math-hide.png
new file mode 100644
index 00000000..7ac5d2f1
--- /dev/null
+++ b/tests/ref/bugs/math-hide.png
Binary files differ
diff --git a/tests/typ/bugs/math-hide.typ b/tests/typ/bugs/math-hide.typ
new file mode 100644
index 00000000..8e268c97
--- /dev/null
+++ b/tests/typ/bugs/math-hide.typ
@@ -0,0 +1,16 @@
+// Ensure that the math is properly hidden.
+
+---
+#set page(height: 70pt)
+
+Testing $delta$
+
+$ a^2 + b^2 = c^2 $
+
+#hide[
+ Hello
+
+ $ f(x) := x^2 $
+
+ World $f(x)$
+]