📄
WritingPython

LaTeX工具

by XiaoMaColtAI

LaTeX工具 is a Writing skill for Claude Code, published by XiaoMaColtAI in math-modeling-skill.

819 stars51 forkson XiaoMaColtAI/math-modeling-skillAdded 2026/08/23+8% in starsRepository updated 2026/08/22
claude-codeclaude-skillscodexcodex-skillcumcmdeepseek-harnessmath-modelingmcm-icmskillsvibe-coding
Install in seconds
Install LaTeX工具
Copy LaTeX工具 into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/XiaoMaColtAI/math-modeling-skill/tree/main/tools/latex ~/.claude/skills/latex

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/XiaoMaColtAI/math-modeling-skill.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
tools/latex/SKILL.md in XiaoMaColtAI/math-modeling-skill
Installs to
~/.claude/skills/latex
Collection
One of 10 skills cataloged from this repository
Category
Writing1012 skills

What LaTeX工具 does

LaTeX工具用于从官方或内置模板创建、编译和校验数学建模 LaTeX 论文项目。需要同时交付 Word 时,也可配合 DOCX 工具将完整论文转换为 Word。

LaTeX工具 is cataloged under Writing on DirSkills. LaTeX工具 comes from a repository tagged claude-code, claude-skills, codex, codex-skill and cumcm.

Documentation

README

LaTeX 工具

路径与写入

  • 当前目录为 LATEX_TOOL_ROOT,只读。
  • 模板和脚本从本目录读取;论文项目只写入 PROJECT_ROOT
  • 官方模板、题目附件和 Skill 文件保持只读;先复制,再填充。
  • 默认不覆盖已有输出目录。
  • 初始化生成 latex-project.json,记录主入口、竞赛配置、模板来源、版本、哈希与资源绑定;不要手工删除或伪造。

环境诊断

开始初始化和写作前,按官方模板选择引擎与参考文献后端并执行:

python "<SKILL_ROOT>/tools/latex/scripts/latex_paper.py" doctor `
  --engine xelatex `
  --bibliography-backend biber `
  --need-pandoc

仅生成 LaTeX/PDF 时省略 --need-pandoc。诊断会检查 latexmk、所选引擎、BibTeX/Biber、pypdfpdfimagespdftoppm,需要生成 Word 时再检查 Pandoc。任一必需项缺失都先报告阻塞,不要写完整论文后才发现无法编译或校验。

模板优先级

  1. 用户提供的当届官方 LaTeX 模板项目。
  2. 从目标竞赛官方网站取得的当届 LaTeX 模板项目。
  3. assets/templates/cumcm/assets/templates/mcm-icm/ 构建基线。

内置模板只在没有官方 LaTeX 模板时使用,不替代当届官方规则。复制官方模板目录时保留其 .cls.sty.bst、字体和图片资源,不重写导言区或文档类。

初始化

This is the opening of the README. Read the full README on GitHub.

Frequently asked about LaTeX工具

  • What else does XiaoMaColtAI publish alongside LaTeX工具?

    LaTeX工具 is one of 10 skills that DirSkills catalogs from XiaoMaColtAI/math-modeling-skill, the repository it ships in. Its siblings there include DOCX Tools, Excel Tools and Math Modeling. Each one is a separate skill with its own page in this directory, installs the same way LaTeX工具 does, and is maintained by XiaoMaColtAI in that same repository. The rest of the collection is listed on the XiaoMaColtAI/math-modeling-skill page.

  • How does LaTeX工具 compare to other Writing skills?

    LaTeX工具 ranks #541 by stars among the 1012 Writing skills in this catalog. The most-starred ones next to it are Article Writing, Social Media Content Calendar and Knowledge Comic Creator. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of LaTeX工具 against them. Open each page to compare what they document and how they install.

More from XiaoMaColtAI/math-modeling-skill

LaTeX工具 is one of 10 skills cataloged on DirSkills from XiaoMaColtAI/math-modeling-skill.

See all 10 skills
📄
1w ago

DOCX Tools

DOCX Tools creates, edits, validates, and converts Word DOCX files, including full LaTeX papers into editable DOCX. It is used for math modeling papers, formulas, tables, revision tracking, and comments.
Writing
81951
📊
1w ago

Excel Tools

Excel Tools reads, creates, modifies, and verifies XLSX files while preserving templates, formulas, and worksheet structure. Use it when a task requires Excel output, formula recalculation, or checking workbook errors.
Automation
81951
📐
1w ago

Math Modeling

Math Modeling supports mathematical modeling analysis, code solving, result visualization, and paper writing for competition or project tasks. It can run the full three-stage workflow or just one stage, with optional in-stage quality checks.
AI Engineering
81951
📄
1w ago

PDF Processing

PDF Processing handles reading, extracting text and tables, merging, splitting, rotating, watermarking, creating, encrypting, and decrypting PDF files. Use it when a prompt mentions a .pdf file or asks to generate or modify a PDF, including OCR for scanned documents.
Automation
81951
📚
1w ago

双引擎论文搜索

双引擎论文搜索并行使用 OpenAlex 和 AnySearch 搜索论文,交叉匹配并输出可追溯的元数据。用于需要核验作者、题名、年份和来源的文献检索。
AI Engineering
81951
📐
1w ago

建模手

建模手用于数学建模题目的题意理解、模型选择和算法设计,并输出题目分析报告与术语表格。它适合在建模开始阶段做问题拆解、约束梳理和方案论证。
Data
81951