capwitf/My-MathModeling-skills / math-table
math-table
UnverifiedUse when 高教社杯/CUMCM 数学建模论文需要格式化、修复、压缩或审查符号表、记号表、结果表,包括单位清理、longtable、列宽平衡或按截图修排版。
符号表与结果表
用途
Format notation tables without changing mathematical meaning.
核心规则:先保护符号和定义。排版修改不能悄悄重命名变量、改变定义域或修改单位。
国一候选门槛:表格必须让题目贴合、建模洞察、证据可信、可复现、边界清楚变得更可核验;这是提交质量门槛,不承诺获奖。符号、单位、来源和场景标签不清楚时,排版再紧凑也不能进入论文就绪状态。
硬门禁:单位是模型的一部分,不是装饰。单位未知或冲突时,符号表不能进入论文就绪状态。
流程
- Read the current notation source and the first-use locations when available.
- Preserve the symbol list unless the user explicitly asks to add/remove rows.
- Normalize columns to: symbol, meaning, unit, and optionally domain/source.
- Use
longtablewhen the table may cross pages. - Use
booktabsrules and avoid vertical lines. - Put
--only for dimensionless or truly not-applicable units. - Mark unknown, conflicting, or unstated units as blockers or pending confirmation; do not hide them with
--. - Wrap only long cells; do not shrink the whole table until unreadable.
- Compile or run the smallest available LaTeX check after editing.
一致性检查
- Every formula symbol used in the body appears in the table or is locally defined.
- Every table symbol has one meaning and one unit across the paper.
- Indices, sets, parameters, variables, slack variables, and binary variables are distinguishable.
- Units match the result tables and axis labels.
- No stale symbols from old problems remain.
表格清单门禁
When auditing result tables as part of a paper pass, report table_count by subquestion and distinguish:
- required result tables that answer a deliverable;
- notation or parameter tables that make the model readable;
- diagnostic or appendix tables that should not crowd the main body;
- tables missing key data, units, scenario labels, baselines, source rows, or validation status.
Do not add tables just to show effort. If a result is exact, central, and short, prefer a table; if the table repeats a figure without adding exact values, remove, merge, or demote it. A main-body table is blocked when its units, source, or target subquestion are unknown.
红线
Stop and report a blocker when:
- a symbol appears with two meanings or two units;
- an engineering quantity has
--as a unit without being dimensionless; - a formula symbol is missing from both local definition and symbol table;
- notation was changed to fit layout rather than preserving math;
- stale symbols from another problem remain in the table.
推荐模式
\begin{longtable}{p{0.18\linewidth} p{0.62\linewidth} p{0.12\linewidth}}
\caption{Core notation}\label{tab:symbols}\\
\toprule
Symbol & Meaning & Unit \\
\midrule
\endfirsthead
\toprule
Symbol & Meaning & Unit \\
\midrule
\endhead
$t$ & Time-step index & -- \\
$\Delta t$ & Time-step length & h \\
\bottomrule
\end{longtable}
输出规则
- Keep edits minimal and reversible.
- Preserve mathematical notation exactly unless asked otherwise.
- Prefer compact spacing and balanced columns over decorative styling.
- Do not insert
\newpageor\clearpagesolely to place the symbol table. - For paper table audits, include
table_count, required tables missing, appendix candidates, and unit/source blockers.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 192k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 192k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 192k | Updated | Claude CodeCodex | Verified | Install |