diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-02-24 18:47:43 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-02-24 19:15:11 +0100 |
| commit | 49c0bac44dda8be643480df2c4e68623eeec91bd (patch) | |
| tree | 6f697031013e4259bdfefc7977edc8d9d683e823 /tests/typ | |
| parent | 90132b0d658f1b2a5df75eb458150e6782b2c30c (diff) | |
First-line indents
Co-Authored-By: Martin Haug <mhaug@live.de>
Diffstat (limited to 'tests/typ')
| -rw-r--r-- | tests/typ/text/indent.typ | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/typ/text/indent.typ b/tests/typ/text/indent.typ new file mode 100644 index 00000000..97eae190 --- /dev/null +++ b/tests/typ/text/indent.typ @@ -0,0 +1,28 @@ +// Test paragraph indent. + +--- +#set par(indent: 12pt, leading: 5pt, spacing: 0pt) +#set heading(size: 10pt, above: 8pt) + +The first paragraph has no indent. + +But the second one does. + +#image("../../res/tiger.jpg", height: 6pt) +starts a paragraph without indent. + +#align(center, image("../../res/rhino.png", width: 1cm)) + += Headings +- And lists. +- Have no indent. + + Except if you have another paragraph in them. + +#set text(8pt, "Noto Sans Arabic") +#set par(lang: "ar", leading: 8pt) + += Arabic +دع النص يمطر عليك + +ثم يصبح النص رطبًا وقابل للطرق ويبدو المستند رائعًا. |
