diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-02-25 20:48:38 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-02-25 20:48:38 +0100 |
| commit | b0f4b13f6d4a1fe7742707d08e11ba03f3542b58 (patch) | |
| tree | 13704c92d6e9f2b85f487533c2f0d1ca7cf58d84 /tests/typ/text | |
| parent | efde5cac88078f10485f715be66a27efba2f23d8 (diff) | |
Basic justification
Diffstat (limited to 'tests/typ/text')
| -rw-r--r-- | tests/typ/text/justify.typ | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/typ/text/justify.typ b/tests/typ/text/justify.typ new file mode 100644 index 00000000..7b8a2829 --- /dev/null +++ b/tests/typ/text/justify.typ @@ -0,0 +1,14 @@ + +--- +#set par(indent: 14pt, spacing: 0pt, leading: 5pt, justify: true) + +This text is justified, meaning that spaces are stretched so that the text +forms as "block" with flush edges at both sides. + +First line indents and hyphenation play nicely with justified text. + +--- +// Test that lines with hard breaks aren't justified. +#set par(justify: true) +A B C \ +D |
