Boost LaTeX typesetting efficiency with preview, compile, autocomplete, colorize, and more.
Go to file
2017-03-26 18:17:34 +08:00
.vscode Changes in code for parser movement 2017-01-26 14:27:38 +08:00
img Rearrange syntax files 2017-03-26 10:05:22 +08:00
src Add menu items 2017-03-26 18:17:34 +08:00
syntax Rearrange syntax files 2017-03-26 10:05:22 +08:00
viewer Add glob as dependency 2017-03-26 12:55:47 +08:00
.gitignore Update gitignore 2017-01-19 11:04:34 +08:00
.vscodeignore Initial commit 2016-12-26 16:05:30 +08:00
CHANGELOG.md Add menu items 2017-03-26 18:17:34 +08:00
LICENSE.txt Compose a README 2016-12-26 16:22:34 +08:00
package.json Add menu items 2017-03-26 18:17:34 +08:00
README.md Add menu items 2017-03-26 18:17:34 +08:00
tsconfig.json Initial commit 2016-12-26 16:05:30 +08:00

Visual Studio Code LaTeX Workshop Extension

LaTeX Workshop is an extension for Visual Studio Code, aiming to provide all-in-one features and utilities for latex typesetting with Visual Studio Code.

Features

  • Compile LaTeX with BibTeX to PDF
  • Preview PDF on-the-fly (in VSCode or browser)
  • Support direct and reverse SyncTex
  • Autocomplete
  • Colorize
  • Log parser

Requirements

  • LaTeX distribution in system PATH. For example, TeX Live.
    • MikTeX does not ship with SyncTeX. See this link for a possible solution.

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

Alternatively, you can check out this repository and copy it to the VS Code local extensions folder:

  • Windows %USERPROFILE%\.vscode\extensions
  • Mac/Linux $HOME/.vscode/extensions

Usage

  • Open a .tex file, right click and many features have menu entries there.
  • For reverse SyncTeX from PDF to LaTeX, ctrl/cmd + mouse left click.
  • Alternatively, VS Code commands are provided as follows

Commands

  • latex-workshop.build: Build LaTeX project to PDF using LaTeX toolchain.
  • latex-workshop.view: Open a web browser window to view the PDF file.
  • latex-workshop.tab: Open a VS Code tab to view the PDF file.
  • latex-workshop.synctex: Direct synctex from cursor position.

Contributing

  • Fork it.
  • Do something.
  • Pull request.
  • Thank you and have some beer.

License

MIT