LaTeX-Workshop README

The project's README from github.com/James-Yu/LaTeX-Workshop. As one markdown file: README.md.

Visual Studio Code LaTeX Workshop Extension

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:

Thank you so much!

Note that the latest version of LaTeX-Workshop requires at least VSCode 1.114.0 (April 2026 or later).

Manual

The manual of the extension is maintained as a wiki

Table of Contents

Features (Taster)

This is not a complete list but rather a preview of some of the coolest features.

GitHub

The code for this extension is available on github at: https://github.com/James-Yu/LaTeX-Workshop

Like this work?

License

MIT

LaTeX-Workshop (James-Yu/LaTeX-Workshop)

Searching Database…

这是什么?LaTeX Workshop 是一个 Visual Studio Code 扩展,提供 LaTeX 排版的核心功能:保存时自动编译、PDF 预览、SyncTeX 导航、自动补全、代码检查和代码片段。
这是独立应用还是 VS Code 扩展?它是一个 VS Code 扩展,而不是独立的编辑器或 LaTeX 发行版;你需要先安装 VS Code,并另外安装 LaTeX 编译引擎。
我该如何安装和配置?从 Visual Studio Code Marketplace 安装,然后按照 wiki 文档设置相关要求和 PATH 环境变量,让 VS Code 能找到你的 LaTeX 编译器。
我需要另外安装 LaTeX 发行版吗?需要。你需要安装 LaTeX 发行版(例如 TeX Live)并将其加入 PATH;或者按照 wiki 文档的说明,在 Docker 或 WSL 中运行。
它支持 VS Code Remote Development 吗,还是只能本地使用?它支持 VS Code Remote Development。最新版本要求 VSCode 1.114.0 或更高版本(2026 年 4 月或之后发布),因此较旧的 VS Code 安装版本将不兼容。
它能在 Windows、Mac 和 Linux 上运行吗?可以,它是跨平台的;持续集成(CI)会在 Linux、Mac 和 Windows 上测试 TeX Live。
我能不离开 VS Code 预览编译后的 PDF 吗?可以,它内置了 PDF 查看器,支持即时预览,以及正向和反向 SyncTeX,点击即可在 .tex 源文件和 PDF 之间来回跳转。
它能帮我更快地输入 LaTeX 命令吗?可以,它为文献引用、交叉引用、命令和环境提供智能提示,还提供代码片段快捷输入,例如输入 @ 可输入希腊字母,输入 BEQ 可插入公式环境。
它会自动发现 LaTeX 错误吗?会,它包含一个 LaTeX 日志解析器,可直接在 VS Code 中显示编译产生的错误和警告,并支持 Chktex 等代码检查以及重复标签检测。
编辑时能预览公式或图形吗?能,将鼠标悬停在数学环境、宏包名称或引用上时会触发实时预览,其中包括用于数学内容的 MathJax 预览弹窗。
Creator
James-Yu
Size
47.2 MB
Stars
12.4K
Updated
CommitOct 17
Age
9y
Commits · 90 Days