summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/typst/src/symbols/sym.rs46
1 files changed, 45 insertions, 1 deletions
diff --git a/crates/typst/src/symbols/sym.rs b/crates/typst/src/symbols/sym.rs
index 1dec0039..802b9a7a 100644
--- a/crates/typst/src/symbols/sym.rs
+++ b/crates/typst/src/symbols/sym.rs
@@ -480,7 +480,6 @@ pub(crate) const SYM: &[(&str, Symbol)] = symbols! {
checkmark: ['✓', light: '🗸', heavy: '✔'],
crossmark: ['✗', heavy: '✘'],
floral: ['❦', l: '☙', r: '❧'],
- notes: [up: '🎜', down: '🎝'],
refmark: '※',
servicemark: '℠',
maltese: '✠',
@@ -495,6 +494,51 @@ pub(crate) const SYM: &[(&str, Symbol)] = symbols! {
spade.stroked: '♤',
],
+ // Music.
+ note: [
+ up: '🎜',
+ down: '🎝',
+ whole: '𝅝',
+ half: '𝅗𝅥',
+ quarter: '𝅘𝅥',
+ quarter.alt: '♩',
+ eighth: '𝅘𝅥𝅮',
+ eighth.alt: '♪',
+ eighth.beamed: '♫',
+ sixteenth: '𝅘𝅥𝅯',
+ sixteenth.beamed: '♬',
+ grace: '𝆕',
+ grace.slash: '𝆔',
+ ],
+ rest: [
+ whole: '𝄻',
+ multiple: '𝄺',
+ multiple.measure: '𝄩',
+ half: '𝄼',
+ quarter: '𝄽',
+ eighth: '𝄾',
+ sixteenth: '𝄿',
+ ],
+ natural: [
+ '♮',
+ t: '𝄮',
+ b: '𝄯',
+ ],
+ flat: [
+ '♭',
+ t: '𝄬',
+ b: '𝄭',
+ double: '𝄫',
+ quarter: '𝄳',
+ ],
+ sharp: [
+ '♯',
+ t: '𝄰',
+ b: '𝄱',
+ double: '𝄪',
+ quarter: '𝄲',
+ ],
+
// Shapes.
bullet: '•',
circle: [