summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/typst-library/src/symbols/sym.rs1
-rw-r--r--tests/suite/math/style.typ4
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 0ea65591..9c138e9d 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 e21cd4fd..1fa2695e 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)$