summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-04-24 21:36:41 +0200
committerLaurenz <laurmaedje@gmail.com>2022-04-24 21:38:23 +0200
commit2f33ad0e0aa3d1f4a949025597bf1ea36256831f (patch)
treec98bff188e35d0836384418c7da1635660b10fe7 /tests
parent2791f59ce2404d0483aee92b8231df95aa45b7a5 (diff)
Rename soft linebreak to justified linebreak
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/text/linebreak.pngbin18653 -> 18957 bytes
-rw-r--r--tests/typ/text/linebreak.typ11
2 files changed, 7 insertions, 4 deletions
diff --git a/tests/ref/text/linebreak.png b/tests/ref/text/linebreak.png
index 4a691d72..1a3f49df 100644
--- a/tests/ref/text/linebreak.png
+++ b/tests/ref/text/linebreak.png
Binary files differ
diff --git a/tests/typ/text/linebreak.typ b/tests/typ/text/linebreak.typ
index bee17c6b..797e2f7c 100644
--- a/tests/typ/text/linebreak.typ
+++ b/tests/typ/text/linebreak.typ
@@ -13,7 +13,7 @@ Supercalifragilisticexpialidocious Expialigoricmetrioxidation.
This is partly emp#emph[has]ized.
---
-Hard \ break.
+Hard #linebreak() break.
---
// Test hard break directly after normal break.
@@ -21,13 +21,16 @@ Hard break directly after \ normal break.
---
// Test consecutive breaks.
-Two consecutive \ \ breaks and three \ \ \ more.
+Two consecutive \ \ breaks and three \ \ more.
---
// Test forcing an empty trailing line.
Trailing break \ \
---
-// Test soft breaks.
+// Test justified breaks.
#set par(justify: true)
-With a soft \+ break you can force a break without breaking justification.
+With a soft \+
+break you can force a break without #linebreak(justified: true)
+breaking justification. #linebreak(justified: false)
+Nice!