What problem does it solve?
This Skill solves LaTeX float defects where figures and tables land too far from their first reference, are sized incorrectly for the column width, cluster with little surrounding text, or split across pages in a way that breaks readability and formatting quality.
Core Features & Use Cases
- B1 Float-Reference Distance Repair: Moves or re-parameterizes floats to ensure the visual placement is near the citation/first mention rather than forcing readers to hunt across pages.
- B2 Column Width Fit: Normalizes image/table widths to \linewidth/\textwidth and uses appropriate environments (e.g., tabularx, longtable, rotated tables) to prevent underutilized space or overflow.
- B3 Float Clustering Control: Distributes floats across pages and reduces “stacked floats” with minimal text in-between using placement parameters and strategic barriers.
- B4 Cross-Page Orphaning Fix: Prevents long tables from losing repeated headers and avoids awkward page splits via longtable or controlled placement, then re-validates with page images.
- Use Case: When your layout-detective report flags defects B1–B4, route the task to this Skill so it edits the relevant .tex sources and validates the result by rendering updated page images.
Quick Start
Ask your agent system to run the Float Optimizer Skill for the main .tex file using the layout detective report, cross-reference distances from data/crossrefs.json, and the latest visual page renders, then apply the minimal safe float edits and confirm the fixes on the updated page images.