diff options
| author | Laurenz <laurmaedje@gmail.com> | 2024-04-13 10:39:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-13 08:39:45 +0000 |
| commit | 020294fca9a7065d4b9cf4e677f606ebaaa29b00 (patch) | |
| tree | c0027ad22046e2726c22298461327823d6b88d53 /tests/typ/layout/par-indent.typ | |
| parent | 72dd79210602ecc799726fc096b078afbb47f299 (diff) | |
Better test runner (#3922)
Diffstat (limited to 'tests/typ/layout/par-indent.typ')
| -rw-r--r-- | tests/typ/layout/par-indent.typ | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/tests/typ/layout/par-indent.typ b/tests/typ/layout/par-indent.typ deleted file mode 100644 index e807d74d..00000000 --- a/tests/typ/layout/par-indent.typ +++ /dev/null @@ -1,51 +0,0 @@ -// Test paragraph indent. - ---- -#set par(first-line-indent: 12pt, leading: 5pt) -#set block(spacing: 5pt) -#show heading: set text(size: 10pt) - -The first paragraph has no indent. - -But the second one does. - -#box(image("/assets/images/tiger.jpg", height: 6pt)) -starts a paragraph, also with indent. - -#align(center, image("/assets/images/rhino.png", width: 1cm)) - -= Headings -- And lists. -- Have no indent. - - Except if you have another paragraph in them. - -#set text(8pt, lang: "ar", font: ("Noto Sans Arabic", "Linux Libertine")) -#set par(leading: 8pt) - -= Arabic -دع النص يمطر عليك - -ثم يصبح النص رطبًا وقابل للطرق ويبدو المستند رائعًا. - ---- -// This is madness. -#set par(first-line-indent: 12pt) -Why would anybody ever ... - -... want spacing and indent? - ---- -// Test hanging indent. -#set par(hanging-indent: 15pt, justify: true) -#lorem(10) - ---- -#set par(hanging-indent: 1em) -Welcome \ here. Does this work well? - ---- -#set par(hanging-indent: 2em) -#set text(dir: rtl) -لآن وقد أظلم الليل وبدأت النجوم -تنضخ وجه الطبيعة التي أعْيَتْ من طول ما انبعثت في النهار |
