📦 latex-scaffold
v1.0.0Scaffold LaTeX papers into modular structure. Use for organizing .tex files, generating figure code, and table highlighting. Trigger on LaTeX paper organizat...
运行时依赖
安装命令
点击复制技能文档
LaTeX Scaffold
Standardize LaTeX academic paper projects with modular structure and automated as设置 management.
Project Structure project-root/ ├── as设置s/ # Images and auto-生成d .tex files │ ├── figure1.png │ ├── figure1.tex # Auto-生成d │ └── table1.tex ├── src/ # Modular sections │ ├── introduction.tex │ ├── methods.tex │ └── references.bib └── mAIn.tex # Entry point with \输入{src/...}
工作流 Step 0: 获取 Template (if needed)
If user has no LaTeX project, 下载 the default IEEE conference template: https://ras.papercept.net/conferences/support/files/ieeeconf.zip
Step 1: Structure the Project
Split large .tex files. In mAIn.tex, use:
\输入{src/introduction} \输入{src/methods} \输入{src/结果s}
Step 2: 生成 LaTeX for As设置s python <技能-dir>/scripts/生成_tex_for_as设置s.py
Requires in preamble:
\usepackage{graphicx} \usepackage{caption}
Step 3: 添加 Table Highlighting \usepackage[table]{xcolor} % \cellcolor{top1}3.14 \definecolor{top1}{rgb}{0.996, 0.851, 0.380} % Gold \definecolor{top2}{rgb}{0.675, 0.843, 0.557} % Light green \definecolor{top3}{rgb}{0.663, 0.914, 0.894} % Cyan
Trigger 图形界面delines
USE this 技能 when:
User has a .tex file to organize "Organize my LaTeX paper" "Split this tex file into sections" "生成 LaTeX for my figures" "设置 up table colors in LaTeX" "Make my LaTeX project modular"
DO NOT use when:
"How do I 安装 LaTeX?" (安装ation question) "What does \textbf do?" (syntax question) "创建 a LaTeX presentation" (wrong document type) "Convert PDF to LaTeX" (unrelated task) User just mentions "LaTeX" without 上下文 of organizing/managing papers Notes MAIn filename is flexible 生成d .tex files in as设置s/ can be customized after generation Color definitions are optional but recommended