References to official documentation appear throughout the guide, so you know where each technique comes from. I do my best to write clearly and concisely.
#LATEX TEXT EDITOR GUIDE SERIES#
The series is written with the voice, format, notation, and explanation style I would have liked to have read if I were once again an inexperienced undergraduate learning the material for the first time myself.Īll of the small discoveries I inefficiently scraped together from official documentation, online tutorials, YouTube, Stack Overflow, Reddit, and other online forums are compiled here and (hopefully) synthesized into an easily-followed, self-contained work. If you like, you can see more examples on YouTube.Ĭredit where it is due: the above GIFs are inspired by Gilles Castel’s video Fast LaTeX editing with Vim and UltiSnips-it is beautifully done and I encourage you to watch it. (Yes, I know I’m cheating by throwing in a bunch of hard-to-handwrite integrals.) This is actually a little faster than I can write by hand-try taking out a pencil and paper and see if you can keep up! Here are some examples of what these notes look like:Īnd here are more GIFs showing that LaTeX can be written at handwriting speed:
#LATEX TEXT EDITOR GUIDE PDF#
Integrate Vim and a PDF reader for viewing LaTeX documents.Ī Vimscript primer explaining the key mappings and Vimscript functions used in this tutorial.Īs concrete evidence that the techniques in this tutorial work in practice, here are 1500+ pages of typeset physics notes from my undergraduate studies, most of them written during university lecture in real time (although grammar and style were improved later).
#LATEX TEXT EDITOR GUIDE HOW TO#
Show how to compile LaTeX documents from within Vim. Introduce Vim’s filetype plugin system, which will help you understand the VimTeX plugin.Ĭover the excellent VimTeX plugin- the reason to use Vim over another LaTeX editor. ContentsĬover prerequisites for getting the most out of the series, along with references that should get you up to speed if needed.Įxplain snippets, the key to real-time LaTeX. You can skim through the guide in about 15-30 minutes a closer read-through might take a few hours Īnd you’ll realistically need a few weekends (or perhaps a few weeks if you’re new to Vim) of dedicated focus and effort to become fully functional.įrom that point reaching the speed in this page’s GIFs would probably take months of practice. What it costs you: everything in the guide is free, but it will cost you time and effort.
are interested in taking real-time lecture notes using LaTeX, à la Gilles Castel,.Tech stack: the Vim text editor using the UltiSnips snippet plugin and the VimTeX plugin’s LaTeX editing features. Goal of this guide: make writing LaTeX as easy (fast, efficient, enjoyable…) as writing math by hand. The blue bar with white text shows the keys I am typing, the bottom shows the resulting LaTeX source code, and the top is the compiled output. Here is an example of what I have in mind: This tutorial series will help you set up the Vim or Neovim text editors for efficiently writing LaTeX documents. Real-time LaTeX using (Neo)Vim, VimTeX, and snippets
Real-time LaTeX using Vim/Neovim, VimTeX, and snippets | ejmastnak