LaTeX editing and typing

Posted on 24th August 2022


Continuing the theme of the previous post, this time concerning latex on the desktop. But first, typing. A confession: I am a "hybrid" typist. Or, let us be optimistic, and say was a hybrid typist. I know where all the keys are, but I used to use mainly my index fingers, sometimes the middle fingers. On a old IBM keyboard, or whatever horror one of my laptops, or work, has provided for me. I had deluded myself that this was sufficient, but from observing people who can type properly, finally decided it was not.

I have also unpacked and started using this:

Cherry keyboard

I was given this mechanical keyboard when I left an IT job, but for some reason never unboxed it. I have no idea why, as it is so nice! Though one observation about learning to type properly is that the keyboard actually begins to feel less important. When typing with 2-4 fingers, the mechanical keyboard makes an impressive amount of noise, and my hands dart about frantically. When using all 10 fingers, the whole point is that your hands don't have to move much, so there is less noise, less frantic movement, but a faster outcome.

I am using Typing Club to learn; a web search will come up with lots of alternatives. I spent some weeks in the summer learning the muscle memory of which key is pressed by which finger. The original plan was to write about how to decide when to switch from pecking to using all fingers in daily life, not just when learning. Time rushes on, and I have now made the conscious effort to switch all the time, even on the laptop. I don't actually think I have sacrificed much speed, and the long term goal has to be for all-finger typing to become automatic.

The difficulty is that long years of typing badly mean that my brain already knows where all the keys are, just not which finger to automatically use. I can feel myself using the wrong fingers, and am aware of the need to build the correct muscle memory. Muscle memory is a strange thing: certainly when initially learning, and even now, I find that if I stop to think, I cannot remember which finger to use, but a more basic part of my mind knows automatically: the correct finger almost starts to move of its own accord.

Anyway, practise, practise, practise. Moving on the LaTeX, I have been experimenting with the LaTeX plugin for Visual Studio Code. It works really pretty well:

  • You can preview mathematics by hovering the mouse, though quickly this becomes a gimmick, as I can read LaTeX without issue.
  • The autocomplete is annoying, trying to format things in a way I don't like.
  • But the autocomplete lookup of bibliographic citations and cross-references is amazingly useful.
  • When Windows hibernates (which I use all the time) the auto-updating of the PDF preview breaks, which is frustrating.
  • It is recommended to use with TeXLive, but I had no problems with MiKTeX, after some light editing of the build sequence.

I usually just use TeXWorks, which is hardly feature rich. But it works for me, excepting when working with longer documents, when it starts to become very slow. Sadly the spell checker I use with VSCode also bogs down (even worse) with long documents. While VSCode works well, I haven't found the need to changedmy day-to-day LaTeX work to it, and I still search for the ideal LaTeX editor.

A final thought: I haven't yet worked out how best to type LaTeX commands with 10 fingers. Writing some Python code yesterday also brought to mind the same thoughts.


Categories
Recent posts