mirror of
https://github.com/typst/typst
synced 2025-05-13 20:46:23 +08:00
29 lines
596 B
XML
29 lines
596 B
XML
// Test line breaking special cases.
|
|
|
|
---
|
|
// Test overlong word that is not directly after a hard break.
|
|
This is a spaceexceedinglylongy.
|
|
|
|
---
|
|
// Test two overlong words in a row.
|
|
Supercalifragilisticexpialidocious Expialigoricmetrioxidation.
|
|
|
|
---
|
|
// Test that there are no unwanted line break opportunities on run change.
|
|
This is partly emp_has_ized.
|
|
|
|
---
|
|
Hard \ break.
|
|
|
|
---
|
|
// Test hard break directly after normal break.
|
|
Hard break directly after \ normal break.
|
|
|
|
---
|
|
// Test consecutive breaks.
|
|
Two consecutive \ \ breaks and three \ \ \ more.
|
|
|
|
---
|
|
// Test trailing newline.
|
|
Trailing break \
|