mirror of
https://github.com/typst/typst
synced 2025-05-14 17:15:28 +08:00
Miscellaneous sym.rs
improvements (#5045)
This commit is contained in:
parent
584e4585f1
commit
3c90878460
@ -100,8 +100,8 @@ pub(crate) const SYM: &[(&str, Symbol)] = symbols! {
|
|||||||
dash: [
|
dash: [
|
||||||
#[call(crate::math::accent::dash)] en: '–',
|
#[call(crate::math::accent::dash)] en: '–',
|
||||||
em: '—',
|
em: '—',
|
||||||
em.two: '\u{2e3a}',
|
em.two: '⸺',
|
||||||
em.three: '\u{2e3b}',
|
em.three: '⸻',
|
||||||
fig: '‒',
|
fig: '‒',
|
||||||
wave: '〜',
|
wave: '〜',
|
||||||
colon: '∹',
|
colon: '∹',
|
||||||
@ -129,7 +129,7 @@ pub(crate) const SYM: &[(&str, Symbol)] = symbols! {
|
|||||||
pilcrow: ['¶', rev: '⁋'],
|
pilcrow: ['¶', rev: '⁋'],
|
||||||
section: '§',
|
section: '§',
|
||||||
semi: [';', rev: '⁏'],
|
semi: [';', rev: '⁏'],
|
||||||
slash: ['/', double: '⫽', triple: '⫻', big: '\u{29f8}'],
|
slash: ['/', double: '⫽', triple: '⫻', big: '⧸'],
|
||||||
dots: [h.c: '⋯', h: '…', v: '⋮', down: '⋱', up: '⋰'],
|
dots: [h.c: '⋯', h: '…', v: '⋮', down: '⋱', up: '⋰'],
|
||||||
tilde: [
|
tilde: [
|
||||||
#[call(crate::math::accent::tilde)] op: '∼',
|
#[call(crate::math::accent::tilde)] op: '∼',
|
||||||
@ -944,6 +944,9 @@ pub(crate) const SYM: &[(&str, Symbol)] = symbols! {
|
|||||||
Zeta: 'Ζ',
|
Zeta: 'Ζ',
|
||||||
|
|
||||||
// Hebrew.
|
// Hebrew.
|
||||||
|
// In math, the following symbols are replaced with corresponding characters
|
||||||
|
// from Letterlike Symbols.
|
||||||
|
// See https://github.com/typst/typst/pull/3375.
|
||||||
aleph: 'א',
|
aleph: 'א',
|
||||||
alef: 'א',
|
alef: 'א',
|
||||||
beth: 'ב',
|
beth: 'ב',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user