基于大纲生成中文 LaTeX 论文章节。使用中文输出。触发:"写论文"、"中文latex"、"开始写"。
基于 $ARGUMENTS 生成中文 LaTeX 论文。
中文期刊/会议 — 默认格式。支持的格式:中文期刊、EI会议、SCI期刊、中文模板zh-CN/paper-plan-zh)figures/(来自 /paper-figure)如果不存在 PAPER_PLAN.md,询问用户先运行 /paper-plan-zh 或提供简要大纲。
paper/
├── main.tex # 主文件
├── chinese_thesis.cls # 或中文期刊模板 .cls
├── math_commands.tex # 共享数学宏
├── references.bib # 参考文献(仅引用条目)
├── sections/
│ ├── 0_abstract.tex # 摘要
│ ├── 1_introduction.tex # 引言
│ ├── 2_related.tex # 相关工作
│ ├── 3_method.tex # 方法
│ ├── 4_experiment.tex # 实验
│ ├── 5_discussion.tex # 讨论
│ ├── 6_conclusion.tex # 结论
│ └── appendix.tex # 附录(如有)
└── figures/ # 图表文件
如果 paper/ 已存在,备份到 paper-backup-{timestamp}/ 再覆盖。
paper/ 目录math_commands.tex(数学符号定义)% math_commands.tex — 共享符号定义
\usepackage{amsmath,amssymb}
\newcommand{\R}{\mathbb{R}}
\newcommand{\E}{\mathbb{E}}
\DeclareMathOperator*{\argmax}{arg\,max}
\DeclareMathOperator*{\argmin}{arg\,min}
% 论文特定符号...
按顺序处理各节:
§0 摘要:
\begin摘要} — 那是在 main.tex 中§1 引言:
§2 相关工作:
\paragraph§3 方法/实验设计:
§4 实验结果:
§5 讨论:
§6 结论:
关键:只包含正文中引用的条目。
\citep{} 和 \citet{}.bib 文件references.bib(只含引用的条目)\ref{} 和 \label{} 匹配\citep{} / \citet{} 有对应 BibTeX 条目\ref{} 和 \label{} 匹配(无 undefined references)\citep{} / \citet{} 有对应 BibTeX 条目中文期刊通用:
\documentclass{ctexart}
\usepackage{amsmath,amssymb}
\usepackage{graphicx}
\usepackage{booktabs}
中文会议:
\documentclass[UTF8]{article}
\usepackage{ctex}
\usepackage{amsmath}
| 方面 | ARIS paper-write | 本 skill |
|---|---|---|
| 输出语言 | 英文 | 中文 |
| 默认模板 | ICLR/NeurIPS/ICML | 中文期刊/会议 |
| 章节结构 | 西文学术风格 | 中文期刊规范 |
| 引用格式 | natbib | 中文 GB/T 7714 |
/paper-write-zh "基于 PAPER_PLAN.md 生成中文论文"
/paper-write-zh "sections: 1_introduction, 2_related" # 只写特定章节