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 | ||
.gitattributes | ||
.gitignore | ||
.vscodeignore | ||
CHANGELOG.md | ||
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 to PDF
- Compile BibTeX
- Preview PDF on-the-fly
- Support direct and reverse SyncTex
- Autocomplete
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).
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
Commands
latex-workshop.compile
: Compile LaTeX to PDF
Settings
latex-workshop.compiler
: Set the LaTeX compiler command.latex-workshop.compile_argument
: Set the compiler arguments. It is required that non-blocking compile argument is used, e.g.,-halt-on-error
and-interaction=nonstopmode
.latex-workshop.compile_workflow
: Set the compile workflow of LaTeX. Default islatex
->bibtex
->latex
->latex
. An array of commands is required here. Each command will be executed when the previous one is finished. If any command outputserror
, the workflow will terminate. Some placeholders are available:%compiler%
: The compiler set inlatex-workshop.compiler
.%arguments%
: The compiler argument set inlatex-workshop.compile_argument
.%document%
: Name of the current active file in VS Code.
Contributing
Fork it and thank you!