summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMalo <57839069+MDLC01@users.noreply.github.com>2024-08-26 18:17:33 +0200
committerGitHub <noreply@github.com>2024-08-26 16:17:33 +0000
commit3d980fe4a39fcc83ac7e4a32ba2a6cd8643b3e89 (patch)
tree8ddca7da9defddb3ad7eae322a308455bb9e7b40
parentcd62a19344e60457b2bc0f493f709fb5d88fc9e1 (diff)
Add miscellaneous symbols from Miscellaneous Mathematical Symbols-B (#4831)
-rw-r--r--crates/typst/src/symbols/sym.rs15
1 files changed, 13 insertions, 2 deletions
diff --git a/crates/typst/src/symbols/sym.rs b/crates/typst/src/symbols/sym.rs
index 7520c14e..d506880b 100644
--- a/crates/typst/src/symbols/sym.rs
+++ b/crates/typst/src/symbols/sym.rs
@@ -186,10 +186,12 @@ pub(crate) const SYM: &[(&str, Symbol)] = symbols! {
circle.arrow: '⟴',
circle.big: '⨁',
dot: '∔',
+ double: '⧺',
minus: '±',
small: '﹢',
square: '⊞',
triangle: '⨹',
+ triple: '⧻',
],
minus: [
'−',
@@ -395,7 +397,12 @@ pub(crate) const SYM: &[(&str, Symbol)] = symbols! {
],
// Calculus.
- infinity: '∞',
+ infinity: [
+ '∞',
+ bar: '⧞',
+ incomplete: '⧜',
+ tie: '⧝',
+ ],
oo: '∞',
diff: '∂', // Deprecation planned
partial: '∂',
@@ -444,7 +451,11 @@ pub(crate) const SYM: &[(&str, Symbol)] = symbols! {
// Function and category theory.
compose: '∘',
convolve: '∗',
- multimap: '⊸',
+ multimap: ['⊸', double: '⧟'],
+
+ // Game theory.
+ tiny: '⧾',
+ miny: '⧿',
// Number theory.
divides: ['∣', not: '∤'],