diff options
| author | Andrew Voynov <37143421+Andrew15-5@users.noreply.github.com> | 2024-11-12 15:44:45 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-12 12:44:45 +0000 |
| commit | cb8eaddf980fae6b434e89ebbc061a07ce2f8535 (patch) | |
| tree | 8012067206af5ab62c7dbacebd640eb23a7c13ef | |
| parent | 19bde34876e7a1fb509138ed195f5508bce99f91 (diff) | |
Removed deprecated `diff` symbol (#5388)
| -rw-r--r-- | crates/typst-library/src/symbols/sym.rs | 1 | ||||
| -rw-r--r-- | 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 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)$ |
