visual-audit
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseVisual Audit of Slide Deck
幻灯片视觉审核
Perform a thorough visual layout audit of a slide deck.
对幻灯片进行全面的视觉布局审核。
Steps
步骤
-
Read the slide file specified in
$ARGUMENTS -
For Quarto (.qmd) files:
- Render with
quarto render Quarto/$ARGUMENTS - Open in browser to inspect each slide
- Render with
-
For Beamer (.tex) files:
- Compile and check for overfull hbox warnings
-
Audit every slide for:OVERFLOW: Content exceeding slide boundaries FONT CONSISTENCY: Inline font-size overrides, inconsistent sizes BOX FATIGUE: 2+ colored boxes on one slide, wrong box types SPACING: Missing negative margins, missing fig-align LAYOUT: Missing transitions, missing framing sentences, semantic colors
-
Produce a report organized by slide with severity and recommendations
-
Follow the spacing-first principle:
- Reduce vertical spacing with negative margins
- Consolidate lists
- Move displayed equations inline
- Reduce image/SVG size
- Last resort: font size reduction (never below 0.85em)
-
读取中指定的幻灯片文件
$ARGUMENTS -
针对Quarto(.qmd)文件:
- 使用命令渲染文件
quarto render Quarto/$ARGUMENTS - 在浏览器中打开以检查每张幻灯片
- 使用
-
针对Beamer(.tex)文件:
- 编译文件并检查是否存在overfull hbox警告
-
审核每张幻灯片的以下问题:内容溢出: 内容超出幻灯片边界 字体一致性: 行内字体大小覆盖、字体大小不一致 框体过度使用: 单张幻灯片包含2个及以上彩色框、框体类型错误 间距问题: 缺少负边距、缺少fig-align设置 布局问题: 缺少过渡效果、缺少框架性语句、语义色彩不当
-
生成按幻灯片分类的报告,包含问题严重程度及改进建议
-
遵循“优先调整间距”原则:
- 使用负边距减少垂直间距
- 合并列表内容
- 将显示式公式改为行内式
- 缩小图片/SVG尺寸
- 最后手段:缩小字体大小(绝不低于0.85em)