Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 3.9 KB

Install.md

File metadata and controls

45 lines (28 loc) · 3.9 KB

Installation and basic settings

Requirements

Installation

Installing LaTeX Workshop is simple. You can find it in Visual Studio Code Marketplace, or simply run ext install latex-workshop in VS Code Quick Open (ctrl/cmd + P).

Setting PATH environment variable

Usually, you do NOT have to set PATH environment variable. TeX distributions appropriately set the variable on your system. And, LaTeX Workshop never touches the variable. If VS Code cannot find executables of TeX, it means that the setting of your system is broken. For the ways of setting environment variables on Windows, see link or link. On macOS and Linux, refer to a document by the rbenv dev team.

If you can not fix the setting of your system, you can also override PATH with the env property of LaTeX recipes.

Usage

The typical usage is to open a .tex file and have a look at the TeX sidebar to access all the extension features

If you prefer to access some of the most common actions through a right click menu, set latex-workshop.showContextMenu to true. Default is false.

Using Docker

Starting with 1.35.0, VS Code supports Docker with Remote - Containers. LaTeX Workshop works well with the extension. Try the extension at first.

Starting with release 5.3.0, there is an experimental implementation on Docker support following the idea of @Arxisos. You can set latex-workshop.docker.enabled to true to use a docker based LaTeX distribution. The docker image to be used is defined by latex-workshop.docker.image.latex, the default value is tianon/latex. It is advised that the image is 'pre-'pulled.

@Arxisos created snippets for LaTeX binaries in docker, and @lippertmarkus had another short description on how to use Docker with LaTeX Workshop.

Using WSL

Starting with 1.35.0, VS Code supports WSL through Remote - WSL. LaTeX Workshop works well with the extension.