Boost LaTeX typesetting efficiency with preview, compile, autocomplete, colorize, and more.
翻译准备中
插件TypeScript · JavaScriptGitHub @James-Yu自行安装运营者未确认
试用过了吗? 点一下就好,无需登录。
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
安装型项目无需部署域名也可验证。个人仓库可通过 GitHub 登录验证,组织仓库可使用上方的仓库验证文件。
制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗LaTeX Workshop is an extension for Visual Studio Code, aiming to provide core features for LaTeX typesetting with Visual Studio Code.
This project won't be successful without contributions from the community, especially from the current and past key contributors:
@jlelong@tamuratak@tecosaur@jaboothThank you so much!
Note that the latest version of LaTeX-Workshop requires at least VSCode 1.114.0 (April 2026 or later).
The manual of the extension is maintained as a wiki
This is not a complete list but rather a preview of some of the coolest features.
Build LaTeX (including BibTeX) to PDF automatically on save.
View PDF on-the-fly (in VS Code or browser).
Direct and reverse SyncTeX. Click to jump between location in .tex source and PDF and vice versa.
Intellisense, including completions for bibliography keys (\cite{}) and labels (\ref{}).
LaTeX log parser, with errors and warnings in LaTeX build automatically reported in VS Code.
A lot of LaTeX commands can be typed using snippets starting in \, then type part of the command to narrow the search.
Surround some selected text with a LaTeX command using ctrl+l, ctrl+w (⌘+l, ⌘+w on Mac). A new menu pops up to select the command. This works with multi selections. The former approach using \ has been deprecated.
We also provide a few other suggestion mechanisms
Greek letters are obtained as @ + letter. Some letters have variants, which are available as @v + letter. See here.
Common environments can be obtained by BXY where XY are the first two letters of the environment name, eg. BEQ gives the equation environment. If you want the star version of the environment, use BSXX, eg. BSEQ gives the equation* environment. See here.
Common font commands can be obtained by FXY where XY are the last two letters of the font command name, eg. FIT gives \textit{}. See here.
The code for this extension is available on github at: https://github.com/James-Yu/LaTeX-Workshop
Many other maths symbols can be obtained with the @ prefix. See here.
In addition to snippets, there are shortcuts provided by the extension that allow you to easily format text (and one or two other things).
When the current line starts with \item or \item[], hitting Enter automatically adds a newline starting in the same way. For a better handling of the last item, hitting Enter on a line only containing \item or \item[] actually deletes the content of the line. The alt+Enter is bind to the standard newline command. This automatic insertion of \item can be deactivated by setting latex-workshop.bind.enter.key to false.
Preview on hover. Hovering over the start tag of a math environment causes a mathjax preview to pop up.