Skip to content

Commit ef9d2d1

Browse files
NeroBlackstoneLilithHafner
authored andcommitted
Add musical symbols for unicode completions (JuliaLang#54182)
I found that julia was missing some useful music notation unicode completions and sometimes [had to copy and paste these unicodes to use the published package](JuliaMusic/MusicTheory.jl#27). So I picked out some unicode music symbols that might be useful, named from the [unicode standard](https://www.unicode.org/charts/PDF/U1D100.pdf). I didn't add the test, I don't think it's necessary. Thanks for reviewing. Please reply if any changes are needed. --------- Co-authored-by: Lilith Orion Hafner <[email protected]>
1 parent cec0c8c commit ef9d2d1

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

β€Žstdlib/REPL/src/latex_symbols.jl

+40
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,46 @@ const latex_symbols = Dict(
119119
"\\euler" => "β„―",
120120
"\\ohm" => "Ω",
121121

122+
# Music Symbols
123+
# Music Symbols - Accidentals
124+
"\\flatflat" => "𝄫",
125+
"\\sharpsharp" => "π„ͺ",
126+
# Music Symbols - Codas
127+
"\\leftrepeatsign" => "𝄆",
128+
"\\rightrepeatsign" => "𝄇",
129+
"\\dalsegno" => "𝄉",
130+
"\\dacapo" => "π„Š",
131+
"\\segno" => "𝄋",
132+
"\\coda" => "π„Œ",
133+
# Music Symbols - Clefs
134+
"\\clefg" => "π„ž",
135+
"\\clefg8va" => "π„Ÿ",
136+
"\\clefg8vb" => "𝄠",
137+
"\\clefc" => "𝄑",
138+
"\\cleff" => "𝄒",
139+
"\\cleff8va" => "𝄣",
140+
"\\cleff8vb" => "𝄀",
141+
# Music Symbols - Rests
142+
"\\restmulti" => "𝄺",
143+
"\\restwhole" => "𝄻",
144+
"\\resthalf" => "𝄼",
145+
"\\restquarter" => "𝄽",
146+
"\\rest8th" => "𝄾",
147+
"\\rest16th" => "𝄿",
148+
"\\rest32th" => "𝅀",
149+
"\\rest64th" => "𝅁",
150+
"\\rest128th" => "𝅂",
151+
# Music Symbols - Notes
152+
"\\notedoublewhole" => "π…œ",
153+
"\\notewhole" => "𝅝",
154+
"\\notehalf" => "π…ž",
155+
"\\notequarter" => "π…Ÿ",
156+
"\\note8th" => "𝅘𝅥𝅮",
157+
"\\note16th" => "𝅑",
158+
"\\note32th" => "𝅒",
159+
"\\note64th" => "𝅘𝅥𝅱",
160+
"\\note128th" => "𝅀",
161+
122162
# Superscripts
123163
"\\^0" => "⁰",
124164
"\\^1" => "ΒΉ",

0 commit comments

Comments
Β (0)