Removed deprecated diff symbol (#5388)

This commit is contained in:
Andrew Voynov 2024-11-12 15:44:45 +03:00 committed by GitHub
parent 19bde34876
commit cb8eaddf98
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 3 deletions

View File

@ -426,7 +426,6 @@ pub(crate) const SYM: &[(&str, Symbol)] = typst_macros::symbols! {
tie: '',
],
oo: '',
diff: '', // Deprecation planned
partial: '',
gradient: '',
nabla: '',

View File

@ -2,13 +2,13 @@
--- math-style-italic-default ---
// Test italic defaults.
$a, A, delta, ϵ, diff, Delta, ϴ$
$a, A, delta, ϵ, partial, Delta, ϴ$
--- math-style ---
// Test forcing a specific style.
$A, italic(A), upright(A), bold(A), bold(upright(A)), \
serif(A), sans(A), cal(A), frak(A), mono(A), bb(A), \
italic(diff), upright(diff), \
italic(partial), upright(partial), \
bb("hello") + bold(cal("world")), \
mono("SQRT")(x) wreath mono(123 + 456)$