diff options
| author | Laurenz <laurmaedje@gmail.com> | 2020-12-27 20:45:20 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2020-12-27 20:45:20 +0100 |
| commit | ba3d43f7b2a18984be27f3d472884a19f3adce4c (patch) | |
| tree | 1c6ffa31145fb69c19319440969d2037b27b584f /tests/typ/func-font-fallback.typ | |
| parent | 750d220bb080be077cd7ede6d18d485b1c3fb0c9 (diff) | |
Refresh function call and dictionary syntax
- No colon between function name and arguments, just whitespace
- "Named" arguments (previously "keyword" arguments) use colon instead of equals sign
Diffstat (limited to 'tests/typ/func-font-fallback.typ')
| -rw-r--r-- | tests/typ/func-font-fallback.typ | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/typ/func-font-fallback.typ b/tests/typ/func-font-fallback.typ index b6509e62..9b60d46c 100644 --- a/tests/typ/func-font-fallback.typ +++ b/tests/typ/func-font-fallback.typ @@ -4,15 +4,15 @@ Emoji: 🏀 // CMU Serif + Noto Emoji. -[font: "CMU Serif", "Noto Emoji"][Emoji: 🏀] +[font "CMU Serif", "Noto Emoji"][Emoji: 🏀] // Class definitions. -[font: math=("CMU Serif", "Latin Modern Math", "Noto Emoji")] -[font: math][Math: ∫ α + β ➗ 3] +[font math: ("CMU Serif", "Latin Modern Math", "Noto Emoji")] +[font math][Math: ∫ α + β ➗ 3] // Class redefinition. -[font: sans-serif="Noto Emoji"] -[font: sans-serif=("Archivo", sans-serif)] +[font sans-serif: "Noto Emoji"] +[font sans-serif: ("Archivo", sans-serif)] New sans-serif. 🚀 // TODO: Add tests for other scripts. |
