5writing

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

竞赛论文撰写(Typst / LaTeX)

Competition Paper Writing (Typst / LaTeX)

本 skill 承接
3coding-visual
和
4drawio
。前序阶段只提供真实数据、图表 PDF 和记录文件;本阶段负责选择比赛模板和排版引擎、组织论文结构,并决定每张图表放入哪个章节。
Typst 引擎下可调用 typst-author skill 学习 typst 写法;LaTeX 引擎参考本文件末尾的"LaTeX 写作要点"小节。
This skill follows
3coding-visual
and
4drawio
. The preceding stages provide only real data, figure PDFs, and record files; this stage is responsible for selecting the competition template and typesetting engine, organizing the paper structure, and determining which section each figure and table should be placed in.
Under the Typst engine, the
typst-author
skill can be invoked to learn Typst syntax. For the LaTeX engine, refer to the “LaTeX Writing Essentials” section at the end of this document.

数学建模规范参考

Mathematical Modeling Standards Reference

如需领域判断,读取
../_references/math_modeling_norms.md
中的“论文写作”“图表与可视化”和“非数据图工具选择”小节。CUMCM 2026 模式还必须读取
../_references/CUMCM_2026_RULES.md
;比赛专项规则优先于通用经验和历史模板。
For domain-specific judgment, read the “Paper Writing,” “Figures and Visualization,” and “Selection of Non-Data Visualization Tools” sections in
../_references/math_modeling_norms.md
. CUMCM 2026 mode must also read
../_references/CUMCM_2026_RULES.md
. Competition-specific rules take precedence over general experience and legacy templates.

模板族

Template Families

本技能内捆绑的模板位于:
text
templates/zh/<竞赛>/main.typ         # Typst 模板
templates/zh/<竞赛>-latex/main.tex   # LaTeX 模板
templates/en/<竞赛>/main.typ         # Typst 模板
templates/en/<竞赛>-latex/main.tex   # LaTeX 模板
LaTeX 模板覆盖范围:所有中文模板和英文模板均已提供 LaTeX 版本(
-latex
后缀),使用 xelatex 编译。
支持的中文模板(Typst + LaTeX 双版本):
text
apmcm, changsanjiao, cumcm, default, diangongbei, dongsansheng,
huashubei, huaweibei, huazhongbei, mathorcup, mcm, shuweibei, stats, wuyibei
华为杯、华中杯、五一杯统一使用
huaweibei
、
huazhongbei
、
wuyibei
作为模板。
支持的英文模板(Typst + LaTeX 双版本):
text
apmcm, default, mcm
论文中的所有数值图表结论必须来自
reports/RESULTS_REPORT.md
或
figures/*
。不得编造、估算或使用不同的四舍五入方式。
The templates bundled in this skill are located at:
text
templates/zh/<竞赛>/main.typ         # Typst 模板
templates/zh/<竞赛>-latex/main.tex   # LaTeX 模板
templates/en/<竞赛>/main.typ         # Typst 模板
templates/en/<竞赛>-latex/main.tex   # LaTeX 模板
LaTeX Template Coverage: LaTeX versions are provided for all Chinese and English templates, using the
-latex
suffix and compiled with xelatex.
Supported Chinese templates, with both Typst and LaTeX versions:
text
apmcm, changsanjiao, cumcm, default, diangongbei, dongsansheng,
huashubei, huaweibei, huazhongbei, mathorcup, mcm, shuweibei, stats, wuyibei
The Huawei Cup, Central China Cup, and May 5th Cup consistently use
huaweibei
,
huazhongbei
, and
wuyibei
as their templates.
Supported English templates, with both Typst and LaTeX versions:
text
apmcm, default, mcm
All numerical results and figure-based conclusions in the paper must come from
reports/RESULTS_REPORT.md
or
figures/*
. Do not fabricate, estimate, or apply a different rounding convention.

CUMCM 2026 硬约束

CUMCM 2026 Hard Constraints

选择
zh/cumcm
或
zh/cumcm-latex
时:
  • 电子版第 1 页是含标题、摘要和关键词的摘要专用页;该页页码为 1,之后用阿拉伯数字在页脚中部连续编号。
  • 摘要原则上不超过 1 页,无需英文摘要。最后撰写摘要,压缩背景和过程描述,覆盖每问的方法、关键数值与总体结论,关键词通常 3–5 个。
  • 正文从摘要下一页开始,不生成目录。源文件不得含
    \tableofcontents
    、
    \tocpage
    、
    #outline
    或
    #toc-page
    。
  • A4,四边距至少 2.5 cm;正文不超过 30 页,附录页数不限;论文电子文件不超过 20 MB。
  • 摘要、正文和附录不得出现姓名、学校、赛区或其他身份信息。
  • 参考文献之前必须设置“AI工具使用声明”,且只能据实使用官方规定的两种声明之一;不得把声明放在参考文献之后。
  • 附录先列支撑材料文件列表,再给出建模使用的全部完整、可运行源程序代码和必要交互命令;若确实没有程序或支撑材料,使用官方要求的明确说明。
准备 CUMCM 模板后立即扫描并移除任何目录实现。不要只隐藏目录页或依赖用户手动关闭。
When selecting
zh/cumcm
or
zh/cumcm-latex
:
  • The first page of the electronic version must be a dedicated abstract page containing the title, abstract, and keywords. This page is numbered 1, followed by continuous Arabic numerals centered in the footer.
  • The abstract should generally not exceed one page, and an English abstract is not required. Write the abstract last, condense the background and process descriptions, and cover the method, key numerical values, and overall conclusion for each question. Abstracts typically contain 3–5 keywords.
  • The main text begins on the page after the abstract, and no table of contents is generated. Source files must not contain
    \tableofcontents
    ,
    \tocpage
    ,
    #outline
    , or
    #toc-page
    .
  • Use A4 paper with margins of at least 2.5 cm on all sides. The main text must not exceed 30 pages, while the appendix has no page limit. The electronic paper file must not exceed 20 MB.
  • Names, schools, regional divisions, and other identifying information must not appear in the abstract, main text, or appendix.
  • An “AI Tool Usage Statement” must be placed before the references, and only one of the two official statements may be used, according to the actual circumstances. The statement must not be placed after the references.
  • The appendix must first list the supporting-material files, followed by all complete, runnable source program code used for modeling and any necessary interactive commands. If there is genuinely no program or supporting material, use the explicit statement required by the official rules.
Immediately after preparing the CUMCM template, scan for and remove any table-of-contents implementation. Do not merely hide the table-of-contents page or rely on the user to disable it manually.

工作流

Workflow

步骤 0:确定排版引擎

Step 0: Determine the Typesetting Engine

撰写论文前必须确定排版引擎。 引擎决定后续所有步骤(模板路径、章节文件扩展名、图片插入语法、编译命令),选错会导致整篇论文格式错误。
若
plan.md
和用户上下文都无法确定,再询问“撰写论文使用哪种排版引擎?”
  • 选项 1:LaTeX(xelatex 编译,数学建模竞赛主流,模板已全部就绪)— 推荐选项放第一位
  • 选项 2:Typst(typst 编译,调用 typst-author skill 辅助写作)
先读取
plan.md
的“用户偏好 → 排版引擎”字段:
  • 若
    plan.md
    已记录且用户没有提出变更,直接沿用,不重复确认。
  • 若
    plan.md
    不存在或未记录,再询问用户选择。
  • 若用户未明确指定或跳过,默认使用 LaTeX。
根据确定的引擎选择对应模板族:
  • Typst 引擎:使用
    templates/<lang>/<竞赛>/main.typ
    ,调用 typst-author skill。编译命令
    typst compile main.typ
    。
  • LaTeX 引擎:使用
    templates/<lang>/<竞赛>-latex/main.tex
    ,xelatex 编译(中文和英文均需跑两遍解决交叉引用)。编译命令
    xelatex -interaction=nonstopmode main.tex
    (执行两次)。
后续步骤中的所有代码示例、文件扩展名、图片插入语法都必须按所选引擎选择对应版本,不要混用。
The typesetting engine must be determined before writing the paper. The engine determines every subsequent step, including template paths, section-file extensions, image-insertion syntax, and compilation commands. Choosing the wrong engine can cause formatting errors throughout the paper.
If neither
plan.md
nor the user context can determine the engine, ask: “Which typesetting engine will you use to write the paper?”
  • Option 1: LaTeX, compiled with xelatex; the mainstream choice for mathematical modeling competitions, with all templates ready — place the recommended option first
  • Option 2: Typst, compiled with typst; invoke the
    typst-author
    skill to assist with writing
First read the “User Preferences → Typesetting Engine” field in
plan.md
:
  • If
    plan.md
    already records an engine and the user has not requested a change, continue with it without asking again.
  • If
    plan.md
    does not exist or does not record an engine, ask the user to choose one.
  • If the user does not explicitly choose an engine or skips the question, default to LaTeX.
Select the corresponding template family based on the chosen engine:
  • Typst engine: Use
    templates/<lang>/<竞赛>/main.typ
    and invoke the
    typst-author
    skill. Compile with
    typst compile main.typ
    .
  • LaTeX engine: Use
    templates/<lang>/<竞赛>-latex/main.tex
    and compile with xelatex. Run the compilation twice for both Chinese and English documents to resolve cross-references. The command is
    xelatex -interaction=nonstopmode main.tex
    .
All code examples, file extensions, and image-insertion syntax in subsequent steps must use the version corresponding to the selected engine. Do not mix them.

步骤 1:选择语言和模板

Step 1: Select the Language and Template

除非用户明确要求中文,否则 MCM/ICM/COMAP 一律使用英文。所有中文竞赛名称使用中文。
模板键示例(Typst 引擎):
text
长三角 -> zh/changsanjiao
APMCM 英文版 -> en/apmcm
全国赛/国赛/CUMCM -> zh/cumcm
统计建模 -> zh/stats
MCM/ICM/COMAP -> en/mcm
模板键示例(LaTeX 引擎):
text
全国赛/国赛/CUMCM -> zh/cumcm-latex
MCM/ICM/COMAP -> en/mcm-latex
Unless the user explicitly requests Chinese, MCM/ICM/COMAP must always use English. Chinese competition names should remain in Chinese.
Template-key examples for the Typst engine:
text
长三角 -> zh/changsanjiao
APMCM 英文版 -> en/apmcm
全国赛/国赛/CUMCM -> zh/cumcm
统计建模 -> zh/stats
MCM/ICM/COMAP -> en/mcm
Template-key examples for the LaTeX engine:
text
全国赛/国赛/CUMCM -> zh/cumcm-latex
MCM/ICM/COMAP -> en/mcm-latex

步骤 2:准备模板

Step 2: Prepare the Template

用以下命令检查捆绑模板是否可访问(
SKILL_DIR
为本 skill 所在目录):
Typst 模板:
bash
ls "$SKILL_DIR/templates/zh/<竞赛>/main.typ" 2>/dev/null && echo "OK" || echo "MISSING"
  • 文件存在(OK):直接将
    templates/zh/<竞赛>/
    整目录复制到
    paper/
    。这些模板是自包含入口文件,不依赖额外共享样式文件。
  • 文件不存在(MISSING):说明 skill 未完整安装或在沙箱中,此时依照本 SKILL.md 步骤 3 列出的对应节文件结构,从零重建最小可编译 Typst 框架,并在
    paper/
    内注明"重建自 default 结构"。
存在匹配模板时,绝不从零开始写论文。
LaTeX 模板:
bash
ls "$SKILL_DIR/templates/zh/<竞赛>-latex/main.tex" 2>/dev/null && echo "OK" || echo "MISSING"
  • 文件存在(OK):将
    templates/zh/<竞赛>-latex/
    整目录复制到
    paper/
    。
  • 文件不存在(MISSING):说明 skill 未完整安装或在沙箱中,此时依照本 SKILL.md 步骤 3 列出的对应节文件结构,从零重建最小可编译 LaTeX 框架,并在
    paper/
    内注明"重建自 default-latex 结构"。
Use the following command to check whether the bundled template is accessible, where
SKILL_DIR
is the directory containing this skill:
Typst template:
bash
ls "$SKILL_DIR/templates/zh/<竞赛>/main.typ" 2>/dev/null && echo "OK" || echo "MISSING"
  • The file exists (OK): Copy the entire
    templates/zh/<竞赛>/
    directory into
    paper/
    . These templates are self-contained entry files and do not depend on additional shared style files.
  • The file does not exist (MISSING): This indicates that the skill was not fully installed or that the template is unavailable in the sandbox. In this case, rebuild a minimal compilable Typst framework from scratch according to the section-file structure listed in Step 3 of this SKILL.md, and include the note “Rebuilt from default structure” in
    paper/
    .
Whenever a matching template exists, never write the paper from scratch.
LaTeX template:
bash
ls "$SKILL_DIR/templates/zh/<竞赛>-latex/main.tex" 2>/dev/null && echo "OK" || echo "MISSING"
  • The file exists (OK): Copy the entire
    templates/zh/<竞赛>-latex/
    directory into
    paper/
    .
  • The file does not exist (MISSING): This indicates that the skill was not fully installed or that the template is unavailable in the sandbox. In this case, rebuild a minimal compilable LaTeX framework from scratch according to the section-file structure listed in Step 3 of this SKILL.md, and include the note “Rebuilt from default-latex structure” in
    paper/
    .

步骤 3:构建图表规划

Step 3: Build the Figure and Table Plan

在写正文各节之前,根据
figures/*.pdf
、
reports/RESULTS_REPORT.md
,以及
reports/DRAWIO_REPORT.md
(如果存在)构建图表规划:
text
图表规划
fig_roadmap.pdf -> 引言/问题重述
fig_flow_q1.pdf -> 问题一模型构建
fig_flow_q2.pdf -> 问题二模型构建
fig_pipeline.pdf -> 数据预处理/方法节
结果图 -> 对应的结果节
图片路径相对于写入该图片的文件:写在
paper/main.typ
或
paper/main.tex
中通常用
../figures/xxx.pdf
,写在
paper/sections/*.typ
或
paper/sections/*.tex
中通常用
../../figures/xxx.pdf
。
Typst 引擎图片插入:
typst
#figure(
  image("../../figures/fig_q1_error_dist.pdf", width: 85%),
  caption: [问题一预测误差分布],
)
LaTeX 引擎图片插入:
latex
\begin{figure}[H]
  \centering
  \includegraphics[width=0.85\textwidth]{../../figures/fig_q1_error_dist.pdf}
  \caption{问题一预测误差分布}
  \label{fig:q1_error}
\end{figure}
英文论文使用英文图注。
Before writing any main-text sections, build a figure and table plan based on
figures/*.pdf
,
reports/RESULTS_REPORT.md
, and
reports/DRAWIO_REPORT.md
if it exists:
text
图表规划
fig_roadmap.pdf -> 引言/问题重述
fig_flow_q1.pdf -> 问题一模型构建
fig_flow_q2.pdf -> 问题二模型构建
fig_pipeline.pdf -> 数据预处理/方法节
结果图 -> 对应的结果节
Image paths are relative to the file in which the image is inserted. When written in
paper/main.typ
or
paper/main.tex
, the usual path is
../figures/xxx.pdf
. When written in
paper/sections/*.typ
or
paper/sections/*.tex
, the usual path is
../../figures/xxx.pdf
.
Typst engine image insertion:
typst
#figure(
  image("../../figures/fig_q1_error_dist.pdf", width: 85%),
  caption: [问题一预测误差分布],
)
LaTeX engine image insertion:
latex
\begin{figure}[H]
  \centering
  \includegraphics[width=0.85\textwidth]{../../figures/fig_q1_error_dist.pdf}
  \caption{问题一预测误差分布}
  \label{fig:q1_error}
\end{figure}
English papers must use English captions.

步骤 4:撰写各节

Step 4: Write the Sections

以下章节文件名按所选引擎使用
.typ
(Typst)或
.tex
(LaTeX)扩展名。
例如 Typst 引擎用
1_restatement.typ
,LaTeX 引擎用
1_restatement.tex
。文件名主体保持一致。
中文数学建模通用模板各节文件(
changsanjiao
、
diangongbei
、
huashubei
、
mathorcup
、
wuyibei
):
text
1_restatement.typ  - 问题重述与分析
2_analysis.typ     - 数据理解与总体思路
3_assumptions.typ  - 模型假设
4_symbols.typ      - 符号说明
5_problem1.typ     - 问题一建模与求解
6_problem2.typ     - 问题二建模与求解
7_problem3.typ     - 问题三建模与求解
...         - 根据题目调整问题数量  
8_evaluation.typ   - 灵敏度分析、模型评价与推广
A_code.typ         - 附录代码
国赛/华中杯/华为杯(
cumcm
、
huazhongbei
、
huaweibei
)按以下章节结构:
text
1_restatement.typ
2_analysis.typ
3_assumptions.typ
4_symbols.typ
5_problem1.typ
6_problem2.typ
7_problem3.typ
...        - 根据题目调整问题数量
8_sensitivity.typ
9_evaluation.typ
A_code.typ
东三省模板(
dongsansheng
)额外使用单独摘要文件:
text
abstract.typ
1_restatement.typ
2_analysis.typ
3_assumptions.typ
4_symbols.typ
5_problem1.typ
6_problem2.typ
7_problem3.typ
...       - 根据题目调整问题数量
8_evaluation.typ
A_code.typ
数维杯模板(
shuweibei
)保留原 LaTeX 的示例入口命名:
text
Abstract.typ
Introduction.typ
2_analysis.typ
3_assumptions.typ
4_symbols.typ
5_problem1.typ
6_problem2.typ
7_problem3.typ
...      - 根据题目调整问题数量
8_evaluation.typ
Appendices1.typ
A_code.typ
中文默认模板(
default
):
text
1_restatement.typ
2_assumptions.typ
3_symbols.typ
4_problem1.typ
5_problem2.typ
6_problem3.typ
...      - 根据题目调整问题数量
7_sensitivity.typ
8_evaluation.typ
A_code.typ
中文统计建模各节文件:
text
1_introduction.typ
2_method.typ
3_data.typ
4_analysis.typ
5_results.typ
6_conclusion.typ
A_code.typ
英文 MCM/APMCM 各节文件(
en/mcm
、
en/apmcm
、
zh/mcm
、
zh/apmcm
):
text
1_introduction.typ
2_assumptions.typ
3_model_design.typ
4_solution.typ
5_sensitivity.typ
6_strengths_weaknesses.typ
7_conclusions.typ
A_code.typ
LaTeX 模板章节文件(对应
-latex
后缀模板,结构与 Typst 版本一一对应):
国赛 LaTeX 模板(
zh/cumcm-latex
,对应
cumcm
Typst 版本):
text
1_restatement.tex
2_analysis.tex
3_assumptions.tex
4_symbols.tex
5_problem1.tex
6_problem2.tex
7_problem3.tex
8_sensitivity.tex
9_evaluation.tex
A_code.tex
MCM/ICM LaTeX 模板(
en/mcm-latex
):
text
1_introduction.tex
2_assumptions.tex
3_model_design.tex
4_solution.tex
5_sensitivity.tex
6_strengths_weaknesses.tex
7_conclusions.tex
A_code.tex
其余 LaTeX 模板(
changsanjiao-latex
、
default-latex
、
huashubei-latex
、
mathorcup-latex
、
wuyibei-latex
、
huazhongbei-latex
、
huaweibei-latex
、
diangongbei-latex
、
dongsansheng-latex
、
shuweibei-latex
、
stats-latex
、
apmcm-latex
、
mcm-latex
、
en/apmcm-latex
、
en/default-latex
)的章节文件命名与上述结构类似,以
main.tex
中
\input{}
引用的文件名为准。
英文默认模板(
en/default
):
text
1_introduction.typ
2_assumptions.typ
3_notations.typ
4_model.typ
5_sensitivity.typ
6_evaluation.typ
7_conclusions.typ
A_code.typ
正文写作应使用连贯的学术段落。避免在最终论文中出现工作流内部名称、AI 产品名、prompt 或 agent 工作流。CUMCM 官方要求的“AI工具使用声明”是唯一正文位置例外,详细过程只进入支撑材料中的
AI工具使用详情.pdf
。
The section filenames below use the
.typ
extension for Typst or the
.tex
extension for LaTeX, depending on the selected engine.
For example, use
1_restatement.typ
with the Typst engine and
1_restatement.tex
with the LaTeX engine. Keep the main filenames consistent.
Section files for common Chinese mathematical-modeling templates (
changsanjiao
,
diangongbei
,
huashubei
,
mathorcup
, and
wuyibei
):
text
1_restatement.typ  - 问题重述与分析
2_analysis.typ     - 数据理解与总体思路
3_assumptions.typ  - 模型假设
4_symbols.typ      - 符号说明
5_problem1.typ     - 问题一建模与求解
6_problem2.typ     - 问题二建模与求解
7_problem3.typ     - 问题三建模与求解
...         - 根据题目调整问题数量  
8_evaluation.typ   - 灵敏度分析、模型评价与推广
A_code.typ         - 附录代码
The national competition, Central China Cup, and Huawei Cup templates (
cumcm
,
huazhongbei
, and
huaweibei
) use the following section structure:
text
1_restatement.typ
2_analysis.typ
3_assumptions.typ
4_symbols.typ
5_problem1.typ
6_problem2.typ
7_problem3.typ
...        - 根据题目调整问题数量
8_sensitivity.typ
9_evaluation.typ
A_code.typ
The Northeast Three Provinces template (
dongsansheng
) uses a separate abstract file:
text
abstract.typ
1_restatement.typ
2_analysis.typ
3_assumptions.typ
4_symbols.typ
5_problem1.typ
6_problem2.typ
7_problem3.typ
...       - 根据题目调整问题数量
8_evaluation.typ
A_code.typ
The Shuweibei template (
shuweibei
) preserves the original LaTeX sample entry-file names:
text
Abstract.typ
Introduction.typ
2_analysis.typ
3_assumptions.typ
4_symbols.typ
5_problem1.typ
6_problem2.typ
7_problem3.typ
...      - 根据题目调整问题数量
8_evaluation.typ
Appendices1.typ
A_code.typ
The default Chinese template (
default
) uses:
text
1_restatement.typ
2_assumptions.typ
3_symbols.typ
4_problem1.typ
5_problem2.typ
6_problem3.typ
...      - 根据题目调整问题数量
7_sensitivity.typ
8_evaluation.typ
A_code.typ
The Chinese statistical-modeling template uses:
text
1_introduction.typ
2_method.typ
3_data.typ
4_analysis.typ
5_results.typ
6_conclusion.typ
A_code.typ
The English MCM/APMCM templates (
en/mcm
,
en/apmcm
,
zh/mcm
, and
zh/apmcm
) use:
text
1_introduction.typ
2_assumptions.typ
3_model_design.typ
4_solution.typ
5_sensitivity.typ
6_strengths_weaknesses.typ
7_conclusions.typ
A_code.typ
LaTeX template section files correspond one-to-one with the Typst versions and use the
-latex
suffix:
CUMCM LaTeX template (
zh/cumcm-latex
, corresponding to the
cumcm
Typst version):
text
1_restatement.tex
2_analysis.tex
3_assumptions.tex
4_symbols.tex
5_problem1.tex
6_problem2.tex
7_problem3.tex
8_sensitivity.tex
9_evaluation.tex
A_code.tex
MCM/ICM LaTeX template (
en/mcm-latex
):
text
1_introduction.tex
2_assumptions.tex
3_model_design.tex
4_solution.tex
5_sensitivity.tex
6_strengths_weaknesses.tex
7_conclusions.tex
A_code.tex
The section-file naming for the remaining LaTeX templates (
changsanjiao-latex
,
default-latex
,
huashubei-latex
,
mathorcup-latex
,
wuyibei-latex
,
huazhongbei-latex
,
huaweibei-latex
,
diangongbei-latex
,
dongsansheng-latex
,
shuweibei-latex
,
stats-latex
,
apmcm-latex
,
mcm-latex
,
en/apmcm-latex
, and
en/default-latex
) is similar to the structures above. The filenames referenced by
\input{}
in
main.tex
are authoritative.
The English default template (
en/default
) uses:
text
1_introduction.typ
2_assumptions.typ
3_notations.typ
4_model.typ
5_sensitivity.typ
6_evaluation.typ
7_conclusions.typ
A_code.typ
The main text should use coherent academic paragraphs. Do not include internal workflow names, AI product names, prompts, or agent workflows in the final paper. The only exception in the main text is CUMCM’s officially required “AI Tool Usage Statement”; detailed processes should appear only in
AI工具使用详情.pdf
in the supporting materials.

步骤 5:参考文献

Step 5: References

只使用真实存在且确实支持正文论点的参考文献。每条引用至少核对标题、作者、年份和来源;存在 DOI、出版社页或官方数据页时一并核对并保留 URL/DOI。不得只凭搜索摘要、记忆或模型生成的书目信息写入。文件名按引擎选择:Typst 用
paper/references.typ
,LaTeX 用
paper/references.tex
。
Typst 引擎:
typst
#set enum(numbering: "[1]")
#enum[
  作者. 题名[J]. 期刊名, 年份, 卷(期): 页码.
  Author. "Title." Journal or Conference, year.
]
正文上标引用:
相关研究已用于物流网络优化#super("[1]")。
LaTeX 引擎:
latex
\begin{thebibliography}{99}
  \bibitem{ref1} 作者. 题名[J]. 期刊名, 年份, 卷(期): 页码.
  \bibitem{ref2} Author. "Title." Journal, year.
\end{thebibliography}
正文引用用
\cite{ref1}
或
\cite{ref1,ref2}
。
Use only references that genuinely exist and support the claims in the main text. For every citation, verify at least the title, authors, year, and source. If a DOI, publisher page, or official data page is available, verify and retain the URL or DOI as well. Do not write bibliography entries based solely on search snippets, memory, or model-generated bibliographic information. Select the filename according to the engine: use
paper/references.typ
for Typst and
paper/references.tex
for LaTeX.
Typst engine:
typst
#set enum(numbering: "[1]")
#enum[
  作者. 题名[J]. 期刊名, 年份, 卷(期): 页码.
  Author. "Title." Journal or Conference, year.
]
Superscript citation in the body:
相关研究已用于物流网络优化#super("[1]")
.
LaTeX engine:
latex
\begin{thebibliography}{99}
  \bibitem{ref1} 作者. 题名[J]. 期刊名, 年份, 卷(期): 页码.
  \bibitem{ref2} Author. "Title." Journal, year.
\end{thebibliography}
Use
\cite{ref1}
or
\cite{ref1,ref2}
for citations in the body.

步骤 6:CUMCM AI 声明、参考文献与附录顺序

Step 6: CUMCM AI Statement, References, and Appendix Order

CUMCM 2026 的固定顺序是:
text
摘要 → 正文 → AI工具使用声明 → 参考文献 → 附录
根据
compliance/AI_USAGE_LOG.md
据实选择官方原句:
  • 未使用 AI:
    本参赛队在竞赛过程中未使用任何AI工具。
  • 使用 AI:
    本参赛队在竞赛过程中使用了AI工具,主要用于〖简要用途〗,详细使用情况见支撑材料。
使用本工作流本身即属于使用 AI,不得选择“未使用”。用日志中的真实用途替换
〖简要用途〗
,不得隐藏工具参与或自由改写成减轻责任的声明。详细工具、提示过程、采纳、修改和核验情况不要塞进论文声明,交给
7cumcm-submit
生成
AI工具使用详情.pdf
。
CUMCM 附录最前面列出支撑材料中的每个实际文件及用途,随后完整嵌入全部可运行源码;不能只放“核心代码”、伪代码或截断片段。附录文件清单、支撑材料目录与最终压缩包必须一致。
The fixed order for CUMCM 2026 is:
text
摘要 → 正文 → AI工具使用声明 → 参考文献 → 附录
Select one of the official statements below according to the actual circumstances recorded in
compliance/AI_USAGE_LOG.md
:
  • AI was not used: “This team did not use any AI tools during the competition.”
  • AI was used: “This team used AI tools during the competition, primarily for [brief purpose]. See the supporting materials for details.”
Using this workflow itself constitutes the use of AI, so the “AI was not used” statement must not be selected. Replace [brief purpose] with the actual use recorded in the log. Do not conceal tool participation or freely rewrite the statement in a way that reduces accountability. Do not place detailed information about tools, prompt processes, adoption, modifications, and verification in the paper statement. Leave that information to
7cumcm-submit
to generate
AI工具使用详情.pdf
.
The CUMCM appendix must begin with every actual supporting-material file and its purpose, followed by all complete, runnable source code. It must not contain only the “core code,” pseudocode, or truncated snippets. The appendix file list, supporting-materials directory, and final archive must be identical.

步骤 7:最后撰写摘要或总结

Step 7: Finally Write the Abstract or Summary

在所有章节完成后撰写中文摘要或英文 Summary Sheet。必须包含每个子问题的方法和精确的数值结果。CUMCM 摘要以单页为目标:首段总述问题和路线,随后按子问题写“模型 + 核心结果”,末段总结价值;避免复杂公式、表格和长背景。
After all sections are complete, write the Chinese abstract or English Summary Sheet. It must include the method and exact numerical results for every subproblem. The CUMCM abstract should target a single page: the first paragraph should summarize the problem and overall approach, followed by a “model + key result” for each subproblem, with the final paragraph summarizing the value. Avoid complex formulas, tables, and lengthy background descriptions.

步骤 8:CUMCM H4 人工论文审阅

Step 8: CUMCM H4 Human Paper Review

CUMCM 2026 模式下,先把本阶段 AI 参与的论文组织、表达辅助、引文核对、排版或编译调试如实追加到
compliance/AI_USAGE_LOG.md
,注明采纳、人工修改和核验;不得只记录建模和代码阶段。
编译并完成基础视觉检查后,在
compliance/HUMAN_REVIEW_LOG.md
写
STATUS: WAITING_FOR_HUMAN_PAPER_REVIEW
。向参赛队提供摘要、关键公式与数值、图表、引用、AI 声明、附录源码和支撑材料清单供逐项审阅。只有队员明确确认并记录修改后才能改为
STATUS: HUMAN_APPROVED
;Agent 不得代勾。未通过 H4 不得进入最终提交就绪状态。
In CUMCM 2026 mode, first truthfully append this stage’s AI-assisted paper organization, wording assistance, citation verification, typesetting, or compilation debugging to
compliance/AI_USAGE_LOG.md
. Record what was adopted, what was manually modified, and what was verified. Do not record only the modeling and coding stages.
After compiling the paper and completing a basic visual inspection, write
STATUS: WAITING_FOR_HUMAN_PAPER_REVIEW
in
compliance/HUMAN_REVIEW_LOG.md
. Provide the team with the abstract, key formulas and numerical values, figures and tables, citations, AI statement, appendix source code, and supporting-material list for item-by-item review. The status may be changed to
STATUS: HUMAN_APPROVED
only after the team members explicitly confirm the paper and record their revisions. The Agent must not approve on their behalf. Do not proceed to the final submission-ready state without passing H4.

LaTeX 写作要点

LaTeX Writing Essentials

以下要点供 LaTeX 引擎使用。Typst 引擎请调用 typst-author skill 获取语法帮助。
The following guidance applies to the LaTeX engine. For the Typst engine, invoke the
typst-author
skill for syntax help.

编译命令

Compilation Commands

bash
undefined
bash
undefined

中文模板(xelatex,跑两遍解决交叉引用)

中文模板(xelatex,跑两遍解决交叉引用)

xelatex main.tex && xelatex main.tex
xelatex main.tex && xelatex main.tex

英文模板(xelatex,同样跑两遍)

英文模板(xelatex,同样跑两遍)

xelatex main.tex && xelatex main.tex
undefined
xelatex main.tex && xelatex main.tex
undefined

文档结构

Document Structure

latex
\documentclass[a4paper,12pt]{article}   % 英文
\documentclass[a4paper,12pt]{ctexart}   % 中文

\usepackage{...}   % 宏包加载
\usepackage{graphicx}   % 图片支持
\usepackage{booktabs}   % 三线表
\usepackage{amsmath,amssymb}   % 数学公式
\usepackage{hyperref}   % 交叉引用(需两遍编译)
latex
\documentclass[a4paper,12pt]{article}   % 英文
\documentclass[a4paper,12pt]{ctexart}   % 中文

\usepackage{...}   % 宏包加载
\usepackage{graphicx}   % 图片支持
\usepackage{booktabs}   % 三线表
\usepackage{amsmath,amssymb}   % 数学公式
\usepackage{hyperref}   % 交叉引用(需两遍编译)

图表插入

Figure and Table Insertion

latex
\begin{figure}[H]
  \centering
  \includegraphics[width=0.85\textwidth]{../../figures/fig_q1.pdf}
  \caption{图注}
  \label{fig:q1}
\end{figure}

% 三线表
\begin{table}[htbp]
  \centering
  \caption{表注}
  \begin{tabular}{ccc}
    \toprule
    \textbf{列1} & \textbf{列2} & \textbf{列3} \\
    \midrule
    数据 & 数据 & 数据 \\
    \bottomrule
  \end{tabular}
\end{table}
latex
\begin{figure}[H]
  \centering
  \includegraphics[width=0.85\textwidth]{../../figures/fig_q1.pdf}
  \caption{图注}
  \label{fig:q1}
\end{figure}

% 三线表
\begin{table}[htbp]
  \centering
  \caption{表注}
  \begin{tabular}{ccc}
    \toprule
    \textbf{列1} & \textbf{列2} & \textbf{列3} \\
    \midrule
    数据 & 数据 & 数据 \\
    \bottomrule
  \end{tabular}
\end{table}

交叉引用

Cross-References

latex
如图~\ref{fig:q1}所示,...   % 图片引用
式~(\ref{eq:objective}) 给出...   % 公式引用
见第~\pageref{fig:q1} 页   % 页码引用
latex
如图~\ref{fig:q1}所示,...   % 图片引用
式~(\ref{eq:objective}) 给出...   % 公式引用
见第~\pageref{fig:q1} 页   % 页码引用

数学公式

Mathematical Formulas

latex
行内公式:$f(x) = \sum_{i=1}^n \theta_i \phi_i(x)$

行间公式:
\begin{equation}
  \mathcal{L}(\theta) = \frac{1}{N}\sum_{i=1}^N (y_i - \hat{y}_i)^2
  \label{eq:objective}
\end{equation}
latex
行内公式:$f(x) = \sum_{i=1}^n \theta_i \phi_i(x)$

行间公式:
\begin{equation}
  \mathcal{L}(\theta) = \frac{1}{N}\sum_{i=1}^N (y_i - \hat{y}_i)^2
  \label{eq:objective}
\end{equation}

章节和强调

Sections and Emphasis

latex
\section{问题重述}
\subsection{问题背景}
\textbf{问题一:} xxx   % 对应 Typst 的 #strong
latex
\section{问题重述}
\subsection{问题背景}
\textbf{问题一:} xxx   % 对应 Typst 的 #strong