mirror of
https://github.com/James-Yu/LaTeX-Workshop.git
synced 2024-10-04 23:27:20 +03:00
Boost LaTeX typesetting efficiency with preview, compile, autocomplete, colorize, and more.
.vscode | ||
src | ||
syntax | ||
viewer | ||
.gitignore | ||
.vscodeignore | ||
CHANGELOG.md | ||
icon.png | ||
LICENSE.txt | ||
package.json | ||
README.md | ||
tsconfig.json |
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.