# Paper Writing Checks

Checks LaTeX format, formulas, figures, English wording and references in papers.

- Repository: https://github.com/MLNLP-World/Paper-Writing-Tips (4698 stars)
- Category: Writing
- License: see repository
- Last updated: 2026-09-26
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add MLNLP-World/Paper-Writing-Tips --skill paper-writing -g -a claude-code -y`
Codex: `npx skills add MLNLP-World/Paper-Writing-Tips --skill paper-writing -g -a codex -y`
Cursor: `npx skills add MLNLP-World/Paper-Writing-Tips --skill paper-writing -g -a cursor -y`
Gemini CLI: `npx skills add MLNLP-World/Paper-Writing-Tips --skill paper-writing -g -a gemini-cli -y`

## Description

学术论文写作检查与优化助手。基于 MLNLP-World 社区整理的论文写作技巧，帮助检查和优化学术论文。Use when: (1) 检查论文 LaTeX 格式和排版, (2) 优化公式符号使用, (3) 改进图表设计, (4) 润色英文学术表达, (5) 检查参考文献格式, (6) 投稿前终稿检查, (7) 用户询问论文写作技巧或规范。

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Paper Writing Tips - 学术论文写作助手

帮助用户检查和优化学术论文，确保符合顶会投稿规范。

## 核心检查规则

### 公式符号规范

| 类型 | 规范 | LaTeX 命令 |
|------|------|-----------|
| 标量 | 小写拉丁字母，`l` 用 `\ell` 替代 | `$x$`, `$\ell$` |
| 向量 | 小写加粗 | `\mathbf{x}` (拉丁), `\boldsymbol{\alpha}` (希腊) |
| 矩阵 | 大写加粗 | `\mathbf{X}` |
| 集合 | 花体 | `\mathcal{X}` |
| 数域/期望 | 黑板粗体 | `\mathbb{R}`, `\mathbb{E}` |
| 多字母变量 | 正文字体 | `\textrm{softmax}`, `\textrm{enc}` |
| 函数 | 内置命令 | `\arg`, `\max`, `\sin`, `\exp` |

**公式格式要求：**
- 括号使用 `\left(` `\right)` 自动调整大小
- 多行公式用 `align` 环境，`&=` 对齐等号
- 只对引用的公式加编号，其他用 `\nonumber`

### 写作风格规范

**必须避免：**
- 缩写形式：`don't` → `do not`, `can't` → `cannot`
- 所有格 `'s`：尽量转化为 `of` 结构

**拉丁文惯用语：**
- `e.g.,` = for example（注意逗号）
- `i.e.,` = that is（注意逗号）
- `et al.` = and others（句末不加额外句号）

**LaTeX 格式：**
- 英文引号：``` `` ``` 和 `''`（不用中文引号）
- 不间断空格：`Figure~\ref{}`, `Table~\ref{}`, `BERT~\cite{}`
- URL：`\url{}`（需 `\usepackage{hyperref}`）

### 选词用词规范

**避免绝对化表述：**
| 避免 | 使用 |
|------|------|
| obvious | straightforward |
| always | generally, usually, often |
| never | rare |
| avoid, eliminate | alleviate, relieve |

**冠词使用：**
- `a/an` 跟元音音素：`an LSTM`, `an F1 score`, `a U-Net`
- 可数名词单数需加 `the` 特指或用复数泛指

**缩写规范：**
- 首次出现：`graph attention network (GAT)` 或 `BERT~\citep{BERT}`
- 保持一致：`BERT` 不要写成 `Bert` 或 `bert`

### 表格图片规范

**表格：**
- 使用 `booktabs` 宏包：`\toprule`, `\midrule`, `\bottomrule`
- 三线表，避免竖线
- 调整：`\centering`, `\small`, `\setlength{\tabcolsep}{8pt}`

**图片：**
- 使用矢量图（PDF 格式）
- 字体大小介于正文和 caption 之间
- 颜色不超过六种，适用于黑白打印
- 箭头方向保持一致

### 参考文献规范

**引用命令：**
| 模板 | 插入语 | 句子成分 |
|------|--------|----------|
| ACL/NAACL/EMNLP | `\citep{}` | `\citet{}` |
| COLING | `\citep{}` | `\newcite{}` |
| AAAI/IJCAI | `\cite{}` | `\citeauthor{} \shortcite{}` |

**其他要求：**
- 优先引用正式发表版本，非 arXiv
- 格式保持一致（会议名缩写等）

## 终稿检查清单

检查论文时，按以下清单逐项核对：

The rest: https://github.com/MLNLP-World/Paper-Writing-Tips/blob/HEAD/paper-writing/SKILL.md
