Mapping keyboard to write math
Mapping keyboard to write math
by Zero
ACADE M IC T EC H NO LO G Y , M AT H
{
// double slashes indicate comments
"~#2" = (insertText:, "\U2082"); //
option-2 on the number pad will produce
the subscript 2
"~$#2" = (insertText:, "\U00B2"); //
option-shift-2 on the nubmer pad will
produce superscript 2
"~t" = (insertText:, "\U03B8"); //
option-t produces a theta
"~$D" = (insertText:, "\U0394"); //
option-shift-D will produce a capital
delta
"~$E" = (insertText:, "\U2203"); //
option-shift-E will produce the "there
exists" symbol
}
{
// Save as
~/Library/KeyBindings/DefaultKeyBinding
.dict
// ~ : option
// $ : shift
// # : numpad
// ^ : control
// @ : command
// helpful website:
https://en.wikipedia.org/wiki/Apple_Sym
bols
// option + letter
// "~1" = (insertText:, ""); //
// "~2" = (insertText:, ""); //
// "~3" = (insertText:, ""); //
// "~4" = (insertText:, ""); //
// "~5" = (insertText:, ""); // Leave
alone---infinity ∞
// "~6" = (insertText:, ""); //
// "~7" = (insertText:, ""); //
// "~8" = (insertText:, ""); // Leave
alone---bullet symbol •
// "~9" = (insertText:, ""); //
// "~0" = (insertText:, ""); //
// "~-" = (insertText:, ""); // Leave
alone---en-dash –
// "~=" = (insertText:, ""); // Leave
alone---not equal ≠
"~a" = (insertText:, "\U03B1"); // α
"~b" = (insertText:, "\U03B2"); // β
"~c" = (insertText:, "\U03B5"); // ε
"~d" = (insertText:, "\U03B4"); // δ
// "~e" = (insertText:, ""); // Leave
alone---produces the acute accent
"~f" = (insertText:, "\U03C6"); // φ
"~g" = (insertText:, "\U03B3"); // γ
"~h" = (insertText:, "\U03B7"); // η
// "~i" = (insertText:, ""); // Leave
alone---produces an accent
"~j" = (insertText:, "\U03C4"); // τ
"~k" = (insertText:, "\U03BA"); // κ
"~l" = (insertText:, "\U03BB"); // λ
"~m" = (insertText:, "\U03BC"); // μ
// "~n" = (insertText:, ""); // Leave
alone---produces an accent
// "~o" = (insertText:, ""); //
"~p" = (insertText:, "\U03C0"); // π
"~q" = (insertText:, "\U03BE"); // ξ
"~r" = (insertText:, "\U03C1"); // ρ
"~s" = (insertText:, "\U03C3"); // σ
"~t" = (insertText:, "\U03B8"); // θ
// "~u" = (insertText:, ""); // Leave
alone---produces the umlaut
"~v" = (insertText:,"\U03BD"); // ν
"~w" = (insertText:, "\U03C9"); // ω
"~x" = (insertText:, "\U03C7"); // χ
"~y" = (insertText:, "\U03C8"); // ψ
"~z" = (insertText:, "\U03B6"); // ζ
// "~`" = (insertText:, ""); // Leave
alone---produces an accent
"~[" = (insertText:, "\U2229"); //
intersection ∩
"~]" = (insertText:, "\U222A"); //
union ∪
// "~\" = (insertText:, ""); //
// "~;" = (insertText:, ""); //
// "~'" = (insertText:, ""); //
// "~," = (insertText:, ""); // Leave
alone---produces less than or equal to
≤
// "~." = (insertText:, ""); // Leave
alone---produces greater than or equal
to ≥
// "~/" = (insertText:, ""); // Leave
alone---produces the division symbol ÷
SHARE THIS:
Email Print
Loading...
RELATED
PRE V IOU S PO S T
Make a “Magic Eye” image using Excel
Leave a comment
CON TACT I N FO
Dave Richeson
Professor of Mathematics
Dickinson College
Twitter: divbyzero
Search …
M Y BOOKS
Buy it:
Princeton University Press
Amazon
Buy it:
Princeton University Press
Amazon
RECENT POSTS
TOP P OSTS
David Richeson