diff options
Diffstat (limited to 'tests/suite/math/multiline.typ')
| -rw-r--r-- | tests/suite/math/multiline.typ | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/suite/math/multiline.typ b/tests/suite/math/multiline.typ index 8377b93e..3c0ed2f4 100644 --- a/tests/suite/math/multiline.typ +++ b/tests/suite/math/multiline.typ @@ -130,6 +130,23 @@ $ a &+ b + & c \ & & c && + d \ &= 0 $ +--- math-pagebreaking-single-line --- +// Test breaking of single line equations. +#set page(height: 4em) +#show math.equation: set block(breakable: true) + +Shouldn't overflow: +$ a + b $ + +--- math-pagebreaking-single-line-numbered --- +// Test breaking of single line equations with numbering. +#set page(height: 4em) +#show math.equation: set block(breakable: true) +#set math.equation(numbering: "(1)") + +Shouldn't overflow: +$ a + b $ + --- issue-1948-math-text-break --- // Test text with linebreaks in math. $ x := "a\nb\nc\nd\ne" $ |
