diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-07-30 18:37:04 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-07-30 18:49:20 +0200 |
| commit | e35fca54a0c5b3cd5251a58837e9c1ef2b6c3c6d (patch) | |
| tree | 21afd717101000209cd35d07df8034864f29c41f /tests/typ/text | |
| parent | 1ee1d078e2480ddd08d40915bc7a74a8352acff0 (diff) | |
Change indent from 4 to 2 spaces
Diffstat (limited to 'tests/typ/text')
| -rw-r--r-- | tests/typ/text/align.typ | 8 | ||||
| -rw-r--r-- | tests/typ/text/font.typ | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/tests/typ/text/align.typ b/tests/typ/text/align.typ index 2ffe1b4c..9df5cd5e 100644 --- a/tests/typ/text/align.typ +++ b/tests/typ/text/align.typ @@ -3,16 +3,16 @@ --- // Test that alignment depends on the paragraph's full width. #box[ - Hello World \ - #align(right)[World] + Hello World \ + #align(right)[World] ] --- // Test that a line with multiple alignments respects the paragraph's full // width. #box[ - Hello #align(center)[World] \ - Hello from the World + Hello #align(center)[World] \ + Hello from the World ] --- diff --git a/tests/typ/text/font.typ b/tests/typ/text/font.typ index cc906fbc..1d28c331 100644 --- a/tests/typ/text/font.typ +++ b/tests/typ/text/font.typ @@ -26,7 +26,7 @@ Emoji: 🐪, 🌋, 🏞 // Math. #font("Latin Modern Math")[ - ∫ 𝛼 + 3𝛽 d𝑡 + ∫ 𝛼 + 3𝛽 d𝑡 ] // Colors. @@ -37,8 +37,8 @@ Emoji: 🐪, 🌋, 🏞 #page!(width: 170pt) #let try(top, bottom) = rect(fill: conifer)[ - #font!(top-edge: top, bottom-edge: bottom) - `From `#top` to `#bottom + #font!(top-edge: top, bottom-edge: bottom) + `From `#top` to `#bottom ] #try(ascender, descender) |
