Skip to content

Install

Jerome Lelong edited this page Nov 24, 2018 · 48 revisions

Installation and basic settings

Requirements

  • LaTeX distribution in system PATH. For example, TeX Live.
  • Please note MikTeX does not ship with SyncTeX. See this link for a possible solution.
  • latexmk is required for the default recipe for building LaTeX projects to work. Alternatively, you can set up your own LaTeX recipe.
  • Optional: Install ChkTeX to lint LaTeX projects.
  • Optional: Install latexindent.pl for formatting support if it is not provided by your LaTeX distribution.

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).

Usage

  • Open a .tex file, right click to build, SyncTeX, or show all features.
  • For a complete list, select LaTeX Workshop Actions entry.
  • For reverse SyncTeX from PDF to LaTeX, ctrl/cmd + left mouse click in the PDF.
  • Alternatively, VS Code commands are provided in VS Code Command Palette (ctrl/cmd + shift + P).
  • Type latex workshop to show all related commands.
  • To view an arbitrary PDF file, just click on the file in the explorer.

Table of Contents

Clone this wiki locally