diff options
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) |
