← ClaudeAtlas

creating-figureslisted

Creates publication-quality scientific figures for academic papers. Backend is chosen by host paper extension — `.tex` papers get TikZ figures, `.typ` papers get CeTZ figures; the two are never mixed. Use when creating block diagrams, system architectures, flowcharts, or technical illustrations for papers and theses. Always render a temporary PNG/JPG preview and self-verify visual quality before finalizing figure files.
ai4paper/apaper-plugin · ★ 4 · Data & Documents · score 68
Install: claude install-skill ai4paper/apaper-plugin
# Creating Scientific Figures Create compact, print-friendly figures for academic papers. Two backends are supported, and the choice is **determined by the host paper's file type — not by preference**: | Host paper | Backend | | ------------------------------------------ | ----------------------------------------------------------------- | | LaTeX (`.tex`, `\documentclass{...}`) | **TikZ** — see [TIKZ.md](TIKZ.md) | | Typst (`.typ`) | **[CeTZ](https://typst.app/universe/package/cetz)** — see [TYPST.md](TYPST.md) | ### Detection rule Before generating any figure, identify the host paper: 1. Look at the working directory (or the path the user gave you) for the main paper source. 2. If it ends in `.tex` (or you find `\documentclass` / `\begin{document}` anywhere in the project), produce a TikZ figure. 3. If it ends in `.typ` (or you find `#set page` / `#import "@preview/..."` anywhere in the project), produce a CeTZ figure. 4. If both exist, default to whichever the user is currently editing or pointed you at. 5. Only ask the user if neither extension is present in the working tree. Never mix backends: a TikZ figure cannot be included in a Typst paper (and vice versa) without first compiling to a standalone PDF/SVG. ## Quick Start ### LaTeX/TikZ Minimal block diagram: ```latex % 10pt = the host paper's base font size