visual-audit

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Visual Audit of Slide Deck

幻灯片视觉审核

Perform a thorough visual layout audit of a slide deck.
对幻灯片进行全面的视觉布局审核。

Steps

步骤

  1. Read the slide file specified in
    $ARGUMENTS
  2. For Quarto (.qmd) files:
    • Render with
      quarto render Quarto/$ARGUMENTS
    • Open in browser to inspect each slide
  3. For Beamer (.tex) files:
    • Compile and check for overfull hbox warnings
  4. 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
  5. Produce a report organized by slide with severity and recommendations
  6. Follow the spacing-first principle:
    1. Reduce vertical spacing with negative margins
    2. Consolidate lists
    3. Move displayed equations inline
    4. Reduce image/SVG size
    5. Last resort: font size reduction (never below 0.85em)
  1. 读取
    $ARGUMENTS
    中指定的幻灯片文件
  2. 针对Quarto(.qmd)文件:
    • 使用
      quarto render Quarto/$ARGUMENTS
      命令渲染文件
    • 在浏览器中打开以检查每张幻灯片
  3. 针对Beamer(.tex)文件:
    • 编译文件并检查是否存在overfull hbox警告
  4. 审核每张幻灯片的以下问题:
    内容溢出: 内容超出幻灯片边界 字体一致性: 行内字体大小覆盖、字体大小不一致 框体过度使用: 单张幻灯片包含2个及以上彩色框、框体类型错误 间距问题: 缺少负边距、缺少fig-align设置 布局问题: 缺少过渡效果、缺少框架性语句、语义色彩不当
  5. 生成按幻灯片分类的报告,包含问题严重程度及改进建议
  6. 遵循“优先调整间距”原则:
    1. 使用负边距减少垂直间距
    2. 合并列表内容
    3. 将显示式公式改为行内式
    4. 缩小图片/SVG尺寸
    5. 最后手段:缩小字体大小(绝不低于0.85em)