Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add musical symbols for unicode completions #54182

Merged
merged 13 commits into from
May 8, 2024
40 changes: 40 additions & 0 deletions stdlib/REPL/src/latex_symbols.jl
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,46 @@ const latex_symbols = Dict(
"\\euler" => "ℯ",
"\\ohm" => "Ω",

# Music Symbols
NeroBlackstone marked this conversation as resolved.
Show resolved Hide resolved
# Music Symbols - Accidentals
"\\flatflat" => "𝄫",
"\\sharpsharp" => "𝄪",
# Music Symbols - Codas
"\\leftrepeatsign" => "𝄆",
"\\rightrepeatsign" => "𝄇",
"\\dalsegno" => "𝄉",
"\\dacapo" => "𝄊",
"\\segno" => "𝄋",
"\\coda" => "𝄌",
# Music Symbols - Clefs
"\\clefg" => "𝄞",
"\\clefg8va" => "𝄟",
"\\clefg8vb" => "𝄠",
"\\clefc" => "𝄡",
"\\cleff" => "𝄢",
"\\cleff8va" => "𝄣",
"\\cleff8vb" => "𝄤",
# Music Symbols - Rests
"\\restmulti" => "𝄺",
"\\restwhole" => "𝄻",
"\\resthalf" => "𝄼",
"\\restquarter" => "𝄽",
"\\rest8th" => "𝄾",
"\\rest16th" => "𝄿",
"\\rest32th" => "𝅀",
"\\rest64th" => "𝅁",
"\\rest128th" => "𝅂",
# Music Symbols - Notes
"\\notedoublewhole" => "𝅜",
"\\notewhole" => "𝅝",
"\\notehalf" => "𝅗𝅥",
"\\notequarter" => "𝅘𝅥",
"\\note8th" => "𝅘𝅥𝅮",
"\\note16th" => "𝅘𝅥𝅯",
"\\note32th" => "𝅘𝅥𝅰",
"\\note64th" => "𝅘𝅥𝅱",
"\\note128th" => "𝅘𝅥𝅲",

# Superscripts
"\\^0" => "⁰",
"\\^1" => "¹",
Expand Down