JuliaMusic / MusicTheory.jl

Music theory in Julia
MIT License
46 stars 1 forks source link

How to input 𝄫(double flat) and 𝄪(double sharp) in REPL or vscode? #27

Open NeroBlackstone opened 2 months ago

NeroBlackstone commented 2 months ago

I read Unicode input documentation, and I realized there is no shortcut to input these two symbols.

So... How did you enter these two characters? If it's copy and paste, maybe I think we need an equivalent convenience.

dpsanders commented 2 months ago

Yes I think I copied and pasted. There is a way to add new latex abbreviations to the REPL, but I don't remember exactly how right now.

NeroBlackstone commented 1 month ago

I've added commonly used musical Unicode completions to Julia Repl, which are expected to be available in the next version.

These two symbols can be entered via \flatflat and \doubledouble.

I think when the next Julia is released, we can modify the [compat] entry and then close the issue.

dpsanders commented 1 month ago

Great thanks! I woukd have chosen the names doubleflat and doublesharp, which is what they are called at least in the UK.

NeroBlackstone commented 1 month ago

Great thanks! I woukd have chosen the names doubleflat and doublesharp, which is what they are called at least in the UK.

I chose this naming at first, but the maintainers of Julia recommend the current naming due to the discoverability of the symbols. 😺