一键导入
latexindent
Run latexindent one-sentence-per-line on thesis chapter files. Use when the user asks to format, indent, or break lines in a chapter's LaTeX files.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run latexindent one-sentence-per-line on thesis chapter files. Use when the user asks to format, indent, or break lines in a chapter's LaTeX files.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when the user runs /acronyms, or asks to find, define, or mark up acronyms in a LaTeX thesis .tex file — e.g. converting literal acronyms like CMB, WIMP, dSph, NFW into glossaries macros and adding any missing definitions to acronyms.tex.
Core skill for the deep research and writing tool. Write scientific manuscripts in full paragraphs (never bullet points). Use two-stage process with (1) section outlines with key points using research-lookup then (2) convert to flowing prose. IMRAD structure, citations (APA/AMA/Vancouver), figures/tables, reporting guidelines (CONSORT/STROBE/PRISMA), for research papers and journal submissions.
Critical review of thesis sections or chapters. Evaluates scientific rigor, writing quality, logical flow, and citation completeness. Supports section-level (/referee X.Y) and chapter-level (/referee X) scope.
Research assistant that generates detailed, structural chapter outlines by synthesizing thesis context, local references, and NotebookLM insights.
Use when you need to resolve placeholder citations (e.g., surname_year) or missing bibliography entries in the LaTeX thesis by querying NotebookLM context and InspireHEP.
Use when saving insights from the current conversation to persistent storage, or when retrieving past insights before starting research or writing tasks.
| name | latexindent |
| description | Run latexindent one-sentence-per-line on thesis chapter files. Use when the user asks to format, indent, or break lines in a chapter's LaTeX files. |
Formats thesis .tex files so each sentence starts on its own line, making diffs and edits easier.
latexindent -s -w -m -l localSettings.yaml <file>
| Flag | Purpose |
|---|---|
-s | Silent mode |
-w | Overwrite original (creates .bak0 backup) |
-m | Enable modifyLineBreaks — required or the config is ignored |
-l | Use project-root localSettings.yaml |
The config at localSettings.yaml (project root) enables oneSentencePerLine and excludes lines containing \begin, \end, \cite, \ref, \cref, \Cref, \eqref.
chapter_XX/chapter_X.tex and chapter_XX/sections/*.texpaper_* subdirectories — those are published papers and must not be reformatted.tex files in the target chapter(s) matching the scope rules above.bak0 files from previous runs2>/dev/null) — latexindent emits harmless Perl regex warningsdiff <file>.bak0 <file> to confirm sentences were splitlatexmk -pdf -interaction=nonstopmode main.tex to verify no breakageFormat chapter 6:
cd /path/to/phd-thesis
for f in chapter_06/chapter_6.tex chapter_06/sections/*.tex; do
latexindent -s -w -m -l localSettings.yaml "$f" 2>/dev/null
done