yhbcode000/paper-share-skills/sustech-beamer-theme-fix

Claude Code and agent skill by yhbcode000/paper-share-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Fix for undefined \setsource/\setdomains/\setpresenter/\setvenue commands when compiling SUSTech Beamer slides from the standard template. Copy the extended beamerthemesustech.sty from the sustech-slides-template repository.

Install

npx vskill@latest install yhbcode000/paper-share-skills/sustech-beamer-theme-fix

SKILL.md

SUSTech Beamer Theme \setsource Fix

Problem

When filling main.tex from the standard slides-template, latexmk -xelatex fails with:

! Undefined control sequence.
l.23 \setsource{...}{...}

Also: \setdomains, \setpresenter, \setvenue. These are used by newer decks but NOT defined in the plain template version of beamerthemesustech.sty.

Root cause

The base beamerthemesustech.sty is ~60 lines, ending with \mode<all>. The extended version (shipped in the sustech-slides-template repository) continues to ~100+ lines with:

  • \paperfrom{venue}{year} — formats the source line
  • \setsource{venue}{year} — calls \paperfrom
  • \setdomains{...} — sets domain tags
  • \setpresenter{name} — sets presenter name
  • \setvenue{location} — sets venue location
  • \titlemetaline — formats the title page bottom line

Fix

The extended macros ship in the sustech-slides-template repository at sustech-theme/beamerthemesustech.sty. After copying the template into your deck, replace beamerthemesustech.sty with the extended version.

If you already have a checkout of the repository:

bash
cp "<TEMPLATE_DIR>/sustech-theme/beamerthemesustech.sty" \
"<TARGET>/slides-beamer/sustech-theme/beamerthemesustech.sty"

Otherwise clone it first, then copy:

bash
git clone --depth 1 https://github.com/yhbcode000/sustech-slides-template.git <TEMPLATE_DIR>
cp "<TEMPLATE_DIR>/sustech-theme/beamerthemesustech.sty" \
"<TARGET>/slides-beamer/sustech-theme/beamerthemesustech.sty"

Do this BEFORE first compile. The beamerthemesustech-elements.sty and beamercolorthemesustech.sty files are identical between the repository template and the reference deck — only beamerthemesustech.sty carries the extended macros; when in doubt, copy the whole sustech-theme/ directory.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/yhbcode000/paper-share-skills/sustech-beamer-theme-fix/badge)](https://verified-skill.com/skills/yhbcode000/paper-share-skills/sustech-beamer-theme-fix)

Something wrong with this skill or its page? Tell us.