summaryrefslogtreecommitdiff
path: root/tests/typ/math
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/math')
-rw-r--r--tests/typ/math/multiline.typ21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/typ/math/multiline.typ b/tests/typ/math/multiline.typ
index 1d268fae..4f42ea63 100644
--- a/tests/typ/math/multiline.typ
+++ b/tests/typ/math/multiline.typ
@@ -33,3 +33,24 @@ $ "abc" &= c \
---
// Test multiline subscript.
$ sum_(n in NN \ n <= 5) n = (5(5+1))/2 = 15 $
+
+---
+// Test no trailing line break.
+$
+"abc" &= c
+$
+No trailing line break.
+
+---
+// Test single trailing line break.
+$
+"abc" &= c \
+$
+One trailing line break.
+
+---
+// Test multiple trailing line breaks.
+$
+"abc" &= c \ \ \
+$
+Multiple trailing line breaks.