Math Latex 标志

Math Latex

社区
capwitf
math-latex

Use when 高教社杯/CUMCM 数学建模论文需要 LaTeX 排版、模板保持、中英文摘要、公式、表格、图、参考文献、匿名性、页数、浮动体或最终 PDF 质量检查。

概览

发布者capwitf
代码仓库My-MathModeling-skills
技能名称math-latex
星标数
57
复刻数
1
附带文件
3
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 3 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 capwitf 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Math Latex AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/capwitf/My-MathModeling-skills/tree/main/math-latex
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/capwitf/My-MathModeling-skills.git /tmp/My-MathModeling-skills
mkdir -p .claude/skills
cp -r /tmp/My-MathModeling-skills/math-latex .claude/skills/math-latex
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Math Latex,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Math Latex。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Math Latex 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

竞赛 LaTeX 排版

用途

Format mathematical modeling papers for submission. Prefer compliance, readability, and evidence visibility over decorative restyling.

核心规则:评委读到的是 PDF。必须编译并检查渲染后的页面,而不是只看源代码。

国一候选门槛:排版必须让题目贴合、建模洞察、证据可信、可复现、边界清楚被评委快速看到;这是提交质量门槛,不承诺获奖。版面修饰不能替代证据链,任何影响可读性、匿名性、页数或表图可核验性的布局都要阻塞最终状态。

硬门禁:官方模板和提交规则高于本地审美偏好。规则未知时,最终排版状态必须阻塞。

核心流程

  1. Inspect official template and contest rules before changing structure.
  2. Preserve documentclass, margins, headers, numbering, and required sections unless the user asks otherwise.
  3. Fix structure, references, equations, tables, and figures before cosmetic style.
  4. Compile early and often.
  5. Inspect rendered PDF pages for whitespace, crowding, unreadable figures, float order, and anonymity.
  6. Run the final submission checklist before calling the paper complete.

If the official rule says no table of contents, do not insert one. If the rule is unknown, leave structure conservative and mark final submission blocked.

Read references/final-checklist.md for final inspection order and references/latex-patterns.md for repair snippets.

结构规则

  • Each subproblem should close the loop: model, solve, result, validation, conclusion.
  • Keep section titles short and parallel.
  • Move derivations, raw diagnostics, solver traces, and large ledgers to appendix when allowed.
  • Do not insert gratuitous \newpage or \clearpage between body sections.
  • Avoid manual spacing hacks. Use them only as the smallest repair after structural fixes.
  • Do not force a decorative heading style, section numbering style, or page break pattern unless the official template or user requires it.

图表密度门禁

For every figure/table in the main body, ask:

  • What claim does it prove?
  • Is that claim already better shown by a table or a smaller figure?
  • Can a reader understand it at 100 percent PDF zoom?
  • Does it need to be in the main body, or is appendix better?
  • Is there a nearby conclusion sentence and boundary/risk sentence?

Default figure sizing:

  • single main-body evidence figure: usually 0.78\textwidth to 0.86\textwidth;
  • full-width only for a mechanism diagram, Pareto/frontier plot, or dense figure that carries a central claim;
  • two-panel figures: only when the two panels answer the same claim;
  • 2x2 figures: use only when every panel remains readable and the combined figure has one clear takeaway.

Avoid final paper image paths like 1.png, 2.png, or hash names. Prefer semantic filenames.

标题与证据规则

  • Captions should name object, scenario, metric, and what to notice.
  • Mention each figure/table before or near where it appears.
  • Put units in headers, axes, and colorbars.
  • Do not let figures appear before their first meaningful mention unless the template requires it.
  • If figure_evidence.csv exists, every main-body figure should map to a row with validation_status=paper_ready.

公式与记号规则

  • Number display equations only when referenced or important.
  • Use align/aligned for multi-line derivations.
  • Define symbols near first use and keep notation table consistent.
  • Avoid oversized inline formulas that damage line spacing.

表格

  • Prefer booktabs and no vertical rules.
  • Put units in column headers.
  • Use longtable for tables likely to cross pages.
  • Do not use resizebox to hide an unreadable table. Split or redesign the table.

竞赛高频排版修复

Before final layout, actively check these contest pain points in the rendered PDF, not only in source:

  • 三线表: use booktabs with clear headers, units, and aligned numeric columns. Do not use resizebox as the default repair for a wide table; first shorten headers, split columns by claim, use tabularx/p{} columns, or move secondary diagnostics to appendix.
  • 多图并列: use subfigures only when panels answer one shared claim. Keep panel labels, axes, legends, and captions readable at normal zoom; split the figure if each panel needs a different conclusion sentence.
  • 长公式断行: use align, aligned, split, or named intermediate variables. Break at relations or operators, not inside semantic units. Avoid shrinking equations as an image or using tiny font to make them fit.
  • 伪代码: use a stable algorithm environment only when the algorithm is part of the modeling contribution or reproducibility path. Keep it shorter than the surrounding explanation and make inputs, outputs, stopping rule, and complexity or iteration limit visible.

Use references/latex-patterns.md for snippets. Any repair must preserve official template structure, page limits, labels, references, and evidence visibility.

合规报告门禁

When final-format readiness is requested, produce or update a compact compliance_report rather than only saying the outline looks right. At minimum it should record:

  • cover/title-page requirements checked against the active official template;
  • Chinese and English abstract presence, active word/page limits, and keyword count;
  • required section order and whether every subproblem has a result/validation/conclusion loop;
  • equation numbering continuity and whether referenced equations exist;
  • figure/table numbering, captions, first mentions, units, and source/evidence rows;
  • reference style consistency and whether every citation resolves;
  • page limit, anonymity, PDF metadata, compile command, and rendered-page inspection status.

If the official format source is unknown, compliance_report must say official rules unknown -> blocked; do not infer from an older contest template.

最终 PDF 视觉检查

Use a contact sheet or page screenshots when available. Check:

  • pages with a figure taking most of the page;
  • large blank gaps caused by floats or forced breaks;
  • pages with too many dense figures;
  • captions separated from figures;
  • unreadable labels, legends, or colorbars;
  • stale template residue in appendices or separate AI-use statement files.

Final claims are blocked if PDF inspection has not been performed after the last layout-affecting edit.

输出预期

When using this skill, report:

  • binding template constraints;
  • files changed;
  • compile command and result;
  • layout issues fixed;
  • unresolved compile, float, page-limit, anonymity, or evidence risks.

红线

Stop and repair before finalizing when:

  • the PDF does not compile from a clean command;
  • page limits, table-of-contents rules, anonymity, or appendix rules are unknown;
  • figures/tables are unreadable at normal zoom;
  • captions, references, or figure order make a claim hard to verify;
  • appendix code/support files mentioned in the paper are missing or stale;
  • separate AI-use statement files or support materials contain old-template residue.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Math Latex AI 技能有什么作用?

Use when 高教社杯/CUMCM 数学建模论文需要 LaTeX 排版、模板保持、中英文摘要、公式、表格、图、参考文献、匿名性、页数、浮动体或最终 PDF 质量检查。

为什么在 TypingMind 中使用 Math Latex?

因为您只需安装一次,就能搭配任何模型使用。Math Latex 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Math Latex?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/capwitf/My-MathModeling-skills/tree/main/math-latex。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Math Latex?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Math Latex 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Math Latex 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Math Latex AI 技能免费吗?

是的。capwitf 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇