diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-05-06 10:05:11 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-05-06 10:05:11 +0200 |
| commit | bfaf5447a789cd0dbbb1e418bea62fef9edc2b7d (patch) | |
| tree | 0cc1a47b37439fbeda06c57ebef0025becae0066 /tests/typ/text | |
| parent | 49b8574b8d03e52a990f7d7b009c36fbdad0d55a (diff) | |
Cast content from string
Diffstat (limited to 'tests/typ/text')
| -rw-r--r-- | tests/typ/text/font.typ | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/typ/text/font.typ b/tests/typ/text/font.typ index b2909182..bfec3e1c 100644 --- a/tests/typ/text/font.typ +++ b/tests/typ/text/font.typ @@ -39,6 +39,14 @@ Emoji: 🐪, 🌋, 🏞 2π = 𝛼 + 𝛽. ✅ --- +// Test string body. +#text("Text") \ +#text(red, "Text") \ +#text("Ubuntu", blue, "Text") \ +#text([Text], teal, "IBM Plex Serif") \ +#text(forest, "Latin Modern Roman", [Text]) \ + +--- // Error: 11-16 unexpected argument #set text(false) |
