Float Optimizer Skill

Official

Fix float placement and sizing with visual verification

AuthorOpenRaiser
Version1.0.0
Installs0

System Documentation

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.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Float Optimizer Skill
Download link: https://github.com/OpenRaiser/PaperFit/archive/main.zip#float-optimizer-skill

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.