Skip to content

/fix-layout

**作用**: 对当前 LaTeX 项目执行完整的视觉排版优化(VTO)闭环

From plugin
paperfit
3349 skills6 agents9 commands
> /plugin marketplace add OpenRaiser/PaperFit
> /plugin install paperfit@paperfit-vto

Command definition

fix-layout.md
description: Repair the current LaTeX paper layout and verify its rendered pages.

Use the PaperFit skill for this layout repair request: $ARGUMENTS

Read the installed `paperfit` skill, or run `paperfit root` and read `skills/paperfit/SKILL.md` beneath that directory. Diagnose the actual source and page images, make small host edits within the requested scope, and recompile and inspect the final PDF.

The request to repair authorizes relevant source edits. An optional guarded batch is `paperfit fix-layout --main "<root.tex>" --apply --max-rounds 3`. CLI execution is a tool, not the completion criterion; continue with an evidence-based host edit for unsupported candidates. Preserve paper content, captions, labels, and template formatting. Deliver the verified PDF and remaining issues.

@openraiser
Ships withpaperfit

Vision-in-the-Loop Academic Typesetting Agent System PaperFit 是面向 Claude Code、Codex、Cursor 的 LaTeX 论文排版 Agent System。你只需要在论文项目根目录描述目标,PaperFit 会自动完成编译、页图渲染、视觉诊断、源码修复与最终验收。 为什么需要 · 核心能力 · 效果展示 · 快速开始 · 安装 · 使用方法 · 工作流 · 架构

Stars on GitHub

Momentum

stars in total
334
Star history of OpenRaiser/PaperFit on GitHub, a chart by star-history.com

Other commands on paperfit.

adjust-length
Auto-invoked

adjust-length

Command

**作用**: 尝试通过排版微调或受控语义改写逼近目标页数。它是专家快捷入口;普通自然语言如“把正文压到 8 页,尽量不要改语义”也应能触发同类任务。

@openraiser@openraiserInstall Command
check-visual
Auto-invoked

check-visual

Command

**作用**: 仅执行视觉检测,输出诊断报告,不修改源文件。它是专家快捷入口,对应的普通自然语言请求如“检查这篇论文的视觉排版问题”“先做诊断不要改源码”也应能触发同类任务。

@openraiser@openraiserInstall Command
migrate-template
Auto-invoked

migrate-template

Command

**作用**: 将论文从原模板迁移至目标模板,自动处理图表尺寸、页数、宏兼容性等问题。它是专家快捷入口;普通自然语言如“把这篇论文迁移到 CVPR 模板”也应能触发同类任务。

@openraiser@openraiserInstall Command
paperfit-priority
Auto-invoked

paperfit-priority

Command

**作用**: 读取当前状态、视觉重点和修复计划,给出本轮应该先处理什么;若用户明确指定优先顺序,可将该顺序写入 `next_actions` 供后续 `/fix-layout` 直接遵循。

@openraiser@openraiserInstall Command
paperfit-undo
Auto-invoked

paperfit-undo

Command

**作用**: 恢复最近一次 PaperFit 自动写回前的备份版本,优先回滚主 `.tex`,必要时一并恢复 `data/state.json`。

@openraiser@openraiserInstall Command
paperfit
Auto-invoked

paperfit

Command

**作用**: `/paperfit` 是 Claude Code 中的 PaperFit 主入口。用户可以直接用自然语言描述任务,例如排版分析、完整修复、模板迁移、长度调整、局部表格修复、视觉检查或状态查询。Agent 负责解析意图、识别主…

@openraiser@openraiserInstall Command

More commands from other plugins.