diff options
| author | Max <me@mkor.je> | 2024-08-09 07:41:01 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-09 07:41:01 +0000 |
| commit | b07607d35e697be3dd5e56945b16afa8103a491e (patch) | |
| tree | 2bd7ceac0b6797c1f156b35a8a21fe68905e00f6 /tests/suite/syntax | |
| parent | a6a8cdaa28abe22c3a40e7a96d15e5e02e8a445e (diff) | |
Split shorthands into math and markup, add tilde shorthand (#4706)
Diffstat (limited to 'tests/suite/syntax')
| -rw-r--r-- | tests/suite/syntax/shorthand.typ | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/suite/syntax/shorthand.typ b/tests/suite/syntax/shorthand.typ index 81aa6b7b..7d1782b9 100644 --- a/tests/suite/syntax/shorthand.typ +++ b/tests/suite/syntax/shorthand.typ @@ -19,12 +19,17 @@ a~b #set text(font: "Roboto") A... vs #"A..." +--- shorthand-minus --- +// Make sure shorthand is applied only before a digit. +-a -1 + --- shorthands-math --- -// Check all math shorthands +// Check all math shorthands. $...$\ $-$\ $'$\ $*$\ +$~$\ $!=$\ $:=$\ $::=$\ |
