Create LaTeX documents in Visual Studio Code with LaTeX Workshop
If you need to write LaTeX on your machine, this can be achieved comfortably with Visual Studio Code and Windows Subsystem for Linux.
There is no better way to write equations for technical audiences than with LaTex. Unfortunately, finding good LaTex editors isn’t easy, but thankfully you can use Visual Studio Code and Windows Subsystem for Linux to set-up an easy-to-use LaTex coding environment.
Step 1: Install TeX Live
Tex Live is a package of software used to support LaTex code. Frankly, the installation instructions for Unix systems are horrendous, but there is an easier way for Linux users:
sudo apt install texlive-full
Note that this can take quite some time. If your installation gets to 99% and then apparently freezes at Pregenerating ConTeXt MarkIV format. This may take some time
, don’t fret. Just press ENTER on the command line a couple of times, as recommended on AskUbuntu.com, and it’ll get going again.
Step 2: Install LaTeX Workshop
Open up Visual Studio Code and install LatexWorkshop. Restart Visual Studio Code and you should be able to edit and check LaTeX code as you write.

Comments
One response to “Create LaTeX documents in Visual Studio Code with LaTeX Workshop”
Thanks for the super simple set of instructions – I remember the ordeal I went through trying to get LaTeX setup on Windows years ago, so glad to hear it’s a lot easier now.