Touch-Typing Unicode: How and Why

If you’re a scientist, engineer, or mathematician, you probably frequently type technical things on a computer. If you haven’t already, you should definitely learn to touch-type, like everybody should, but then after that there’s another step that you should do for the same reason: learn to touch-type critical characters that are not on your standard keyboard—characters like π μ Δ ± × ≈ β φ ° ∇ ∞ ∫ ≲ etc.

After you get good at this, you’ll be able to type those characters, or any others you like, into virtually any program where you can type normal text—web browsers, Word, Powerpoint, Notepad, programming languages, whatever—and you’ll be able to do it fast enough that you don’t lose your train of thought. Equally importantly, if you find it easy to type the characters, then you actually will type them, instead of their harder-to-read cousins (“pi”, “<~”, “integral of”, etc.), and whoever is reading your writing will be that much likelier to understand it. (Don’t forget, the person reading your writing is most often yourself!)

Also, in many programming languages including Python, you can use Greek letters for variable names, so you can write and run code like θ = π/4. I highly recommend doing this whenever a Greek variable seems to be called for. I find that it can make science calculations much easier to read, understand, and debug.

How to do it

Step 1: Set up a Compose Key on your computer

  • Windows: Install WinCompose from this link. (Does not need admin access.)
  • Linux: Activate the compose key (if it's not already activated by default). If you're not sure, search on the web for "compose key ubuntu" or similar.
  • Mac: Last I checked, there were two ways to install a Compose key on Mac—custom keyboard layout method and keybindings method. That allows the fastest touch-typing, but it’s not very user-friendly to set up. An easier option is to give up and use the characters popover (Ctrl-Cmd-Space) instead.

Step 2 (optional): Print out my handy Compose key cheat sheet—PDF, editable version—and tape it to the wall near your computer.

This is tailored towards the particular symbols that I personally use, but you can make your own. Note that I’ve added a few of my own custom shortcuts over the years, e.g. a shortcut for typing my email address, by editing the .XCompose file.

Step 3: Start typing!

Let’s say I want to type the character μ. I look up the shortcut on the cheat sheet, and see that it’s “[compose key] * m”. So if the compose key is Right-Alt (for example), I would press and release Right-Alt, then *, then m. And μ appears!

Step 4: If you use a symbol very frequently, you’ll memorize its shortcut without even trying!

 

FAQ

Q: Will these characters show up properly on other people’s computers?

A: In my experience, yes. This was not true 10 years ago but things have gotten much better.

Q: I use LaTeX / Mathematica / Julia / (whatever) which has its own special convenient way to input special characters. Why should I bother with a compose key?

A: The Compose key will let you type technical things into any application—word processors, spreadsheets, text editors, email messages, etc.

Please email me any feedback.