What problem does it solve?
It resolves LaTeX layout defects where content exceeds the allowed width, causing overfull hboxes in paragraphs, tables, long formulas, or URLs.
Core Features & Use Cases
- Overfull hbox repair routing: Selects the appropriate fix strategy for D1 (paragraph/table/formula overflows), D2 (long formulas needing line breaks), and D3 (URL/identifier overflows) based on defect IDs from diagnostic agents.
- Minimal, deterministic source edits: Applies the smallest safe
.tex changes to improve line breaking or table layout while preserving academic meaning.
- Recompile-validated outcomes: Uses the compile log to verify that the targeted
Overfull \hbox issues are eliminated or significantly reduced after each attempted strategy.
Use case: After template migration or content updates, your paper compiles but shows overfull lines in the final PDF; use this skill to pinpoint and repair the exact overflow sites (e.g., a specific table cell or a too-long URL in references).
Quick Start
Use the orchestrator to run the overflow-repair workflow for the detected defect IDs D1, D2, and D3, feeding it the main .tex path, rule-engine report details, layout-detective confirmation, and the current .log.