summaryrefslogtreecommitdiff
path: root/tests/typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-10-28 20:05:32 +0200
committerLaurenz <laurmaedje@gmail.com>2023-10-28 20:05:51 +0200
commitaa62d054532e91f988c39dee97c00ce54f18b605 (patch)
treebf80b01bb972f1f30a34a0f2e3382e1f1da82348 /tests/typ
parentc3b1e32d11c8485194070710431b081c52a64c45 (diff)
Fix justification with hanging indent and negative spacing
Fixes #2419
Diffstat (limited to 'tests/typ')
-rw-r--r--tests/typ/bugs/justify-hanging-indent.typ6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/typ/bugs/justify-hanging-indent.typ b/tests/typ/bugs/justify-hanging-indent.typ
new file mode 100644
index 00000000..511aa172
--- /dev/null
+++ b/tests/typ/bugs/justify-hanging-indent.typ
@@ -0,0 +1,6 @@
+// Test that combination of justification and hanging indent doesn't result in
+// an underfull first line.
+
+---
+#set par(hanging-indent: 2.5cm, justify: true)
+#lorem(5)