zlacker

A Mathematical Keyboard Layout (2018)

submitted by susam+(OP) on 2021-04-04 11:19:14 | 76 points 44 comments
[view article] [source] [go to bottom]

NOTE: showing posts with links only show all posts
2. hyperj+Zq[view] [source] 2021-04-04 15:29:08
>>susam+(OP)
Some nice symbol selection here. It’s a great thing to customize your keyboard layout. On the Mac side, there’s a nice tool called Ukelele: https://software.sil.org/ukelele/
4. oddlam+Uu[view] [source] 2021-04-04 15:52:51
>>susam+(OP)
The older neo keyboard layout and its newer variants like bone (https://neo-layout.org/Layouts/bone) follow a similar approach to provide more symbols, and they're additionally optimized for typing.

These layouts provide several additional layers which give easy access to ASCII special characters, greek letters and frequently used math symbols.

Also there is layer 4, which is pure gold in itself. It provides cursor movement keys, backspace, enter and a numpad close to your home position. I personally couldn't go back once I had tried it.

(Beware that these layouts include the umlauts äöüß as they were designed for german writing, and make use of the additional key for '<' in the lower left corner of german keyboards)

◧◩
5. susam+4x[view] [source] [discussion] 2021-04-04 16:05:00
>>fogof+Qq
Compare the following two examples:

5 − 2 = 3

5 - 2 = 3

The first one is correct. It contains the Unicode character 'MINUS SIGN' (U+2212). The second contains the Unicode character 'HYPHEN-MINUS' (U+002D) which is not suitable for representing the minus sign in mathematical typesetting.

Also, see https://i.imgur.com/ngFI3JB.png for a few examples typeset with MathJax. The first example has a proper minus sign (correct) whereas the second one contains a hyphen (incorrect). By the way, in plain HTML, the character entity reference "&minus;" displays the minus sign, although I just use MathJax when proper mathematics typesetting is required in HTML pages.

8. vander+SI[view] [source] 2021-04-04 17:32:36
>>susam+(OP)
I guess a possibility would also be to use one of these https://ergodox-ez.com/. They allow quite some customization.
13. leoc+ZY[view] [source] 2021-04-04 19:49:23
>>susam+(OP)
Obligatory old-timers the APL keyboard https://en.wikipedia.org/wiki/APL_(programming_language)#/me... and the Symbolics LM-2 "space cadet" keyboard: https://en.wikipedia.org/wiki/Space-cadet_keyboard#/media/Fi... It seems that Dyalog is selling new keyboards for its APL, too: https://www.dyalog.com/apl-font-keyboard.htm https://www.dyalog.com/uploads/images/Business/products/us_r... .
◧◩
17. sedach+V21[view] [source] [discussion] 2021-04-04 20:23:31
>>leoc+ZY
Get the real deal: https://www.pckeyboard.com

You can get an APL keycap set for your existing Unicomp keyboard, or do a custom order for any of their models. They will even print you custom keycap sets: https://www.pckeyboard.com/page/category/Buttons

The trackball Unicomp is IMO the best keyboard being manufactured (right now they are out of stock until Q3 2021): https://www.pckeyboard.com/page/category/ClassicTrackball

Buckling spring is just a superior (although less durable) key switch technology than the Honeywell switches used in Symbolics keyboards (and most other keyboard switch mechanisms as well). One thing that the Symbolics keyboards did right is having both the APL and Greek legends on keycaps.

But none of this matters if you do not have the right software. GNU Emacs greek and TeX input-methods, and the C-x 8 iso-transl keymap (which you can extend) makes writing mathematical symbols really easy.

18. BlueTe+h31[view] [source] 2021-04-04 20:27:52
>>susam+(OP)
The new official French AZERTY standard is pretty good too :

http://norme-azerty.fr/en/

Hopefully the various administrations will start to push it to replace old keyboards...

There's also a BÉPO version, which would have been even better, but I guess that would be too much inertia to fight?

22. codeth+H71[view] [source] 2021-04-04 21:08:06
>>susam+(OP)
I wrote myself a small plugin for Sublime Text that allows me to enter common math symbols as unicode characters by virtue of a selection popup. So, for instance, I hit Ctrl+m, type "subs" (for subset – it does fuzzy matching), hit enter et voilà, I get "⊂". Finally, math in LaTeX is no longer a pain to read!

While it works very nicely, it's of course unavailable outside Sublime, so I've been looking for alternatives and came across the following projects:

https://github.com/ibus/ibus (example: https://github.com/sphaerophoria/ibus-memebox) https://github.com/fdw/rofimoji/

Hopefully at some point I'll find the time to adapt them to my purposes.

23. jbj+491[view] [source] 2021-04-04 21:18:18
>>susam+(OP)
interesting, the "Microsoft Keyboard Layout Creator" MSKLC seems to be moved, I just downloaded it one month ago to setup US English Internaitional to be identical as what is found on linux.

New link is here: https://www.microsoft.com/en-us/download/details.aspx?id=102... Remember to turn on windows features for old .NET before you install MSKLC

◧◩
25. remolu+ga1[view] [source] [discussion] 2021-04-04 21:29:06
>>reaper+3V
Depending on your version of MacOS, I'd recommend Karabiner-Elements for remapping: https://karabiner-elements.pqrs.org/
◧◩
27. 2grep+Ya1[view] [source] [discussion] 2021-04-04 21:36:19
>>hyperj+Zq
Ukelele is one of those amazing apps that you love more the less you use it. I've been using this keyboard as my daily driver since 2007:

https://github.com/2grep/ScienceNotes

◧◩
29. kps+Nd1[view] [source] [discussion] 2021-04-04 22:03:29
>>reaper+3V
If you want to do something like the article, with a custom layout (e.g. defining characters for Option and Shift+Option), then what you want (as hyperjeff mentioned above) is Ukelele https://software.sil.org/ukelele/
30. joeman+ge1[view] [source] 2021-04-04 22:08:44
>>susam+(OP)
I like the approach that the AUCTeX and/or CDLaTeX modes in emacs take: if I want Greek letters or math symbols, I hit the backtick, then the mnemonic or binding for the Greek symbol/operator I want. I know you can’t extend this to Twitter or something, but I would never want to anyway. (https://ftp.gnu.org/gnu/auctex/11.88-extra/tex-ref.pdf)
32. jake-l+nj1[view] [source] 2021-04-04 22:58:38
>>susam+(OP)
Very cool that the author had a custom keyboard made with their keymap printed on it.

Personally I like being able to type math symbols on occasion but don't do so often enough to benefit from a custom keyboard layout that I'd then have to memorize. I didn't have a good way to do this until about a year ago, when I learned about Espanso [1] which is a cross-platform text expander. I installed it and set it up to substitute various (vaguely LaTeX-inspired) macros to UTF-8 strings. For example, typing the following keystrokes

    x = R cos(:phi) sin(:lambda :minus :lambda:nought)
becomes x = R cos(φ) sin(λ − λ₀)

I chose ':' as a prefix for all my macros but this is just a self-enforced convention; you can configure a substitution for any sequence of keystrokes. Since I gave all the characters names that made sense to me, I don't have to think much when I type them.

A few of the substitutions I get the most mileage out of:

- The Greek alphabet, both upper and lowercase (:theta → θ and :Omega → Ω)

- Double-struck letters for numerical sets; e.g. :RR → ℝ

- :infinity → ∞

- :neq → ≠

- :pm → ±

[1]: https://github.com/federico-terzi/espanso

33. bradrn+Yk1[view] [source] 2021-04-04 23:15:43
>>susam+(OP)
I wrote myself a very similar keyboard layout a while ago: https://github.com/bradrn/Conkey. It differs in being primarily oriented towards linguistics rather than maths, but I’ve ended up being able to type almost a superset of the same symbols that this one allows. Aside from this, the main difference appears to be that Lengyel’s keyboard layout is more ergonomic, at the cost of allowing less symbols.
◧◩
34. leoc+xl1[view] [source] [discussion] 2021-04-04 23:20:50
>>layer8+0B
On Win10 the quick and dirty solution is to select a character on its own, copy it to the clipboard, then, in your clipboard history, pin that particular selection. Nearly every time you use it you'll have to scroll to the bottom of your clipboard history and then probably back up again a bit, but that's not all that bad.

Of course you HAVE already turned on your Windows 10 clipboard history, RIGHT? ;) https://www.howtogeek.com/671222/how-to-enable-and-use-clipb...

◧◩
35. bradrn+Dl1[view] [source] [discussion] 2021-04-04 23:22:01
>>reaper+3V
To port my keyboard layout [0] to OSX, I used ‘osxkb’ [1], which outputs an OSX keyboard layout bundle given a simple textual specification file. It was originally created specifically to port Conkey to OSX, but should be entirely usable for other purposes as well.

[0] https://github.com/bradrn/Conkey

[1] https://github.com/akamchinjir/osxkb

◧◩◪◨⬒
42. BlueTe+4z2[view] [source] [discussion] 2021-04-05 13:04:44
>>1996+dx1
Not strictly zero :

https://www.ldlc.com/fiche/PB00279741.html

Also I think that Cherry made some ?

But of course, until the State will start enforcing the norm, it will remain an amateur-only thing.

[go to top]