diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-12-21 00:16:07 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-12-21 00:26:20 +0100 |
| commit | ee732468c7487c81aa6470571077988b75d36ebb (patch) | |
| tree | e0361bb75b8bbc3359b711f4009e165459d66248 /tests/typ | |
| parent | 15cd273c82a96128a63781981a4405fcd2b1e846 (diff) | |
Document text category
Diffstat (limited to 'tests/typ')
| -rw-r--r-- | tests/typ/layout/spacing.typ | 2 | ||||
| -rw-r--r-- | tests/typ/text/quotes.typ | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/typ/layout/spacing.typ b/tests/typ/layout/spacing.typ index 3cb1a20c..fbc5b0d8 100644 --- a/tests/typ/layout/spacing.typ +++ b/tests/typ/layout/spacing.typ @@ -32,5 +32,5 @@ A #h(1fr) B --- // Missing spacing. -// Error: 11-13 missing argument: spacing +// Error: 11-13 missing argument: amount Totally #h() ignored diff --git a/tests/typ/text/quotes.typ b/tests/typ/text/quotes.typ index f229fd23..0c64867a 100644 --- a/tests/typ/text/quotes.typ +++ b/tests/typ/text/quotes.typ @@ -43,11 +43,11 @@ The 5\'11\" 'quick\' brown fox jumps over the \"lazy" dog\'s ear. // Test turning smart quotes off. He's told some books contain questionable "example text". -#set text(smart-quotes: false) +#set smartquote(enabled: false) He's told some books contain questionable "example text". --- // Test changing properties within text. "She suddenly started speaking french: #text(lang: "fr")['Je suis une banane.']" Roman told me. -Some people's thought on this would be #text(smart-quotes: false)["strange."] +Some people's thought on this would be [#set smartquote(enabled: false); "strange."] |
