@cspell/dict-latex

中文文档
5.1.0发布于 2026/02/24MITES Module零依赖构建来源已验证近 30 天下载 804.8万

LaTeX cspell dictionary

原始使用文档
文档目录9 节
  1. Requirements
  2. Local Installation
  3. Configuration
  4. Local Installation using CDN
  5. Dictionary Information
  6. Language Settings
  7. Contributing
  8. Dictionary Development
  9. License

CSpell LaTeX Dictionary

LaTeX cspell dictionary

This is a pre-built dictionary for use with cspell.

Requirements

ToolVersion
cspell>= 8
Code Spell Checker - Visual Studio Code>= 4

Local Installation

This package is bundled with CSpell.

Configuration

VSCode Settings

Add the following to your VSCode settings:

.vscode/settings.json

{
  "cSpell.dictionaries": ["latex"],
}
CSpell Settings cspell.json

cspell.json

{
  "dictionaries": ["latex"],
}
CSpell Settings cspell.config.yaml

cspell.config.yaml

dictionaries:
  - latex

Local Installation using CDN

NOTE: This package is bundled with CSpell.

Dictionary Information

NameEnabledDescription
latexLaTeX dictionary

Language Settings

NameLocaleFile Type
latex*latex

Contributing

Please help correct any mistakes in the dictionaries.

See: Contributing

Special thanks to all of our amazing contributors!

Dictionary Development

See: How to Create a New Dictionary

License

MIT

Some packages may have other licenses included.



Brought to you by Street Side Software Logo Street Side Software

版本与发布记录

@cspell/dict-latex 共发布 21 个版本,首次发布于 2020/11/28;过去 12 个月发布了 2 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
5.1.0latest2026/02/248 个月前
5.0.02026/01/249 个月前
4.0.42025/07/101.3 年前
4.0.32024/10/122 年前
4.0.02023/03/143 年前
3.1.02022/12/253 年前

关于 @cspell/dict-latex 的常见问题

@cspell/dict-latex 是什么?

LaTeX cspell dictionary

如何安装 @cspell/dict-latex?

在项目目录运行 npm install @cspell/dict-latex,或使用 pnpm add / yarn add / bun add。

@cspell/dict-latex 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/cspell__dict-latex 是否存在。

@cspell/dict-latex 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@cspell/dict-latex 可以商用吗?

@cspell/dict-latex 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@cspell/dict-latex 的下载量有多少?

根据 npm 官方下载统计,@cspell/dict-latex 在 2026/10/11 – 2026/11/09 这 30 天内被下载 8,048,399 次,日均约 268,280 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@cspell/dict-latex 还在维护吗?

最新版本 5.1.0 发布于 2026/02/24(8 个月前);至今共发布 21 个版本,其中过去 12 个月发布了 2 个;首次发布于 2020/11/28。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。