From cb8eaddf980fae6b434e89ebbc061a07ce2f8535 Mon Sep 17 00:00:00 2001 From: Andrew Voynov <37143421+Andrew15-5@users.noreply.github.com> Date: Tue, 12 Nov 2024 15:44:45 +0300 Subject: [PATCH] Removed deprecated `diff` symbol (#5388) --- crates/typst-library/src/symbols/sym.rs | 1 - tests/suite/math/style.typ | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/crates/typst-library/src/symbols/sym.rs b/crates/typst-library/src/symbols/sym.rs index 0ea655913..9c138e9d0 100644 --- a/crates/typst-library/src/symbols/sym.rs +++ b/crates/typst-library/src/symbols/sym.rs @@ -426,7 +426,6 @@ pub(crate) const SYM: &[(&str, Symbol)] = typst_macros::symbols! { tie: '⧝', ], oo: '∞', - diff: '∂', // Deprecation planned partial: '∂', gradient: '∇', nabla: '∇', diff --git a/tests/suite/math/style.typ b/tests/suite/math/style.typ index e21cd4fd8..1fa2695e6 100644 --- a/tests/suite/math/style.typ +++ b/tests/suite/math/style.typ @@ -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)$