-
-
Notifications
You must be signed in to change notification settings - Fork 139
text editor vsc
Visual Studio Code supports editing, building and previewing the output document all in the same editor window. This may be achieved using a bare bones approach (defining run configurations) or using the extension https://github.com/James-Yu/LaTeX-Workshop. In this page we will only focus on the usage of https://github.com/James-Yu/LaTeX-Workshop extension.
Please refer to the extensions Install page for an up to date list of requirements.
- LaTeX distribution in system PATH. The extension recommends TeX Live but MiKTeX
- If using MiKTeX you are required to install Perl. This is because the default compilation uses
latexmk
which has as a dependency Perl.
- If using MiKTeX you are required to install Perl. This is because the default compilation uses
- Install the LaTeX Workshop extension in Visual Studio Code
- After installation you will have a new TeX sidebar.
The typical usage is to open a .tex
file and then in TeX sidebar you will have the option to build the file.
For previewing the output document, all you have to do is click on the preview button at the top right corner of the Visual Studio Code Window.
For more specific use cases or detailed explanation of the options available please refer to the page extension Wiki page
Visual studio code does not provide spell check right out of the box for .tex
files.
You may add it by installing Code Spell Checker extension.
It will out of the box install en-US and en-GB languages but other languages are also supported.
Thanks for using this template and for contributing with your suggestions. We really appreciate it. If you may, please don't send us emails directly. Post your question in the GitHub Discussions page or the Facebook Group and you will get your answer there — perhaps even faster.