In this article, I will introduce how I set up my environment for writing $\LaTeX$ in VSCode. Usually I do not share how to configure the environment, but I love the settings and really want to share it with you.
You will need to have
VS Code installed on your system.
Install LaTex in Docker
Run the command in your terminal:
docker pull tianon/latex. The dockerfile can be found here.
Install VS Code Extensions
The grammarly extension is a bit different as it has been unpublished in the marketplace. Fortunately, we can still download the
.vsix file from Releases. Then in VS Code, we can manually install the extension from the downloaded file. Here’s the instructions on how to do it.
Enable the LaTex in Docker
In the VS Code preferences, find extensions, and the LaTex workshop. Then enable the Docker settings in this extension.