📄
简介
专业LaTeX文档生成器,支持IEEE/ACM学术论文、中文CTeX论文、学术简历模板,自动编译输出PDF。
原始描述
Generate professional LaTeX documents from templates. Supports academic papers (IEEE/ACM), Chinese thesis (CTeX), CVs (moderncv), and custom templates. Auto-...
通过你的 Agent 添加
点「快速安装」复制一段指令,粘给你正在用的 Agent(Claude Code、Codex、OpenClaw 等),它会自己完成安装。
或者手动安装
Claude Codeunzip -o skill.zip -d ~/.claude/skills/latex-writer/
其它 Agent解压到它自己的 skills 目录,目录名用 latex-writer
包里是 SKILL.md 加作者附带的文件,解压后目录名就是技能名。
技能申请的权限由作者决定,装之前请确认它能读什么、能执行什么。
技能正文
name: latex-writer description: Generate professional LaTeX documents from templates. Supports academic papers (IEEE/ACM), Chinese thesis (CTeX), CVs (moderncv), and custom templates. Auto-compile to PDF. version: 1.0.0 author: OpenClaw
LaTeX Writer
Intelligent LaTeX document generator with template management and PDF compilation.
Features
- 📄 Academic Templates: IEEE, ACM, Springer, Elsevier
- 📝 Chinese Support: CTeX for thesis and reports
- 👤 CV/Resume: moderncv, altacv templates
- 🎨 Custom Templates: Import your own .cls files
- 🔧 Auto Compilation: xelatex/lualatex with error handling
- 📊 Figure/Table Support: Auto-convert markdown tables to LaTeX
Trigger Conditions
Use this skill when:
- User asks to "write a paper" with specific format
- User mentions "LaTeX", "PDF", "typesetting"
- User needs CV/resume generation
- User provides content and asks for professional formatting
Usage Examples
Academic Paper
User: 帮我写一篇 IEEE 格式的机器学习论文,主题是深度学习在医学影像中的应用
Skill Actions:
1. Select IEEEtran template
2. Generate structure: Abstract → Intro → Method → Experiments → Conclusion
3. Ask user for key content points
4. Generate LaTeX with proper math formulas
5. Compile to PDF
Chinese Thesis
User: 我要写硕士毕业论文,学校要求用 LaTeX
Skill Actions:
1. Select CTeX template (ctexrep)
2. Configure Chinese fonts (SimSun, SimHei)
3. Setup school-specific requirements
4. Generate chapter structure
CV Generation
User: 帮我生成一份软件工程师的英文简历
Skill Actions:
1. Select moderncv template (banking style)
2. Collect user information
3. Format with proper sections
4. Generate PDF
Implementation
See scripts/ directory for implementation:
latex_writer.py- Main entry pointtemplate_manager.py- Template library managementcontent_parser.py- Parse user input to structured contentlatex_generator.py- Generate LaTeX codepdf_builder.py- Compile LaTeX to PDF
Requirements
- Python 3.10+
- TeX Live or MiKTeX (with xelatex)
- CJK fonts for Chinese support
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。