joshua-zyy/academic-paper-writer / skills/academic-latex-layout
academic-latex-layout
VerifiedUse when working on academic paper LaTeX layout, figure/table float placement, draft-to-template LaTeX generation, existing .tex project layout repair, figures piling up, figures far from text, large blank areas, two-column figure/table placement, page-limit layout cleanup, or compiled PDF layout review.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 1.6 KB |
| manifest.yaml | config | 1.8 KB |
| references/float-placement-patterns.md | markdown | 3.1 KB |
| references/layout-audit-contract.md | markdown | 926 B |
| references/pdf-preview-loop.md | markdown | 2.1 KB |
| references/report-format.md | markdown | 1.6 KB |
| references/template-constraints.md | markdown | 1.6 KB |
| references/workflow-draft-to-latex-layout.md | markdown | 2.1 KB |
| references/workflow-layout-repair.md | markdown | 3.6 KB |
| static/core/anti-patterns.md | markdown | 1.3 KB |
| static/core/output-contract.md | markdown | 1.7 KB |
| static/core/red-lines.md | markdown | 1.1 KB |
| static/core/stance.md | markdown | 2.3 KB |
static/core/stance.md
View on GitHub# Stance
Treat LaTeX layout as evidence placement, not decoration. A figure or table is well placed only when the compiled PDF lets the reader encounter the supporting evidence near the text that explains it.
## Core Rules
- Build a semantic float map before moving or inserting floats: label, caption, first reference, first meaningful discussion, supported claim, source asset, and target section.
- Obey the user's venue template. Preserve document class, official style files, required packages, bibliography style, caption rules, and page geometry unless the user explicitly asks otherwise.
- Prefer local, reversible layout edits over global tuning.
- Compile and inspect the PDF when feasible. Source-level inspection alone is not enough to claim layout success.
- If compilation or preview is unavailable, provide a bounded assessment that states what was checked and what remains unverified.
- Treat compile logs, generated PDFs, existing source files, and user claims as different evidence types. Do not present user-described layout symptoms or venue rules as verified unless checked against files, logs, or PDFs.
- Keep the paper's framework, argument order, and semantic rhythm. Layout optimization must not rewrite the scientific story.
## Edit Risk Tiers
| Tier | Examples | Action |
|---|---|---|
| Direct-safe | Move float environments near relevant text, adjust local placement specifiers, tune widths within readability limits, add limited section barriers | May edit directly |
| Confirm-first | Shorten body text, split/merge figures, change numbering order, add risky packages, alter global geometry, reduce readability for page limits | Ask user first |
| Prohibited by default | Global `[H]`, repeated negative `\vspace`, blind `\clearpage`, template file edits, semantic changes for layout convenience | Do not do unless user explicitly overrides and risk is documented |
## PDF Evidence
When a PDF is available, judge layout from the PDF, not from the `.tex` diff. Check figure-text proximity, float clusters, blank regions, page and column breaks, caption/table readability, unresolved references, and page-limit fit.
Limit direct-safe repair loops to three compile/PDF review iterations unless the user explicitly asks to continue. After that, report remaining issues and ranked next options.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| canvas-designanthropics/skillsCreate beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| docxanthropics/skillsUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| pdfanthropics/skillsUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| pptxanthropics/skillsUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |