1.6 KiB
1.6 KiB
name, description
| name | description |
|---|---|
| superderive | Create or refine stepwise algebraic derivation figures — rewrite steps, justification rails, cancel and substitute highlights. Use when a rewrite must be seen (cancel-visual, subst-visual, or more than four steps), or the user asks for $superderive. Not for architecture (superfig), tensor faces (supertensor), or a full paper-note job (use superpaper; short rewrites stay as align). |
superderive
Turn one rewrite sequence into one slide-ready figure with three zones:
- Top — claim. The identity being justified.
- Middle — steps.
\sdstep/\sdcancel/\sdsubst/\sdreason. - Bottom — meaning. Idea, rewrite, caveat.
Draw with the package. Do not hand-roll TikZ unless the linter allows it.
When to use
- A cancel or substitution that is the claim.
- More than four rewrite steps that must stay aligned as a picture.
- An illegal vs legal pair (
\sdcol, one per figure).
If expand: true and steps ≤ 4 and there is no cancel/subst visual,
superpaper still uses align. This package is for when the rewrite
must be seen.
Workflow
./scripts/preflight.sh- One rewrite path. Drop equivalent expansions.
- Roles:
keep/rewrite/cancel/intro(already declared). - Smallest grammar:
\sdstep+\sdreason; add\sdcancel/\sdsubstonly when they carry information. ./scripts/build.sh fig.texthen auditreferences/checklist.md.
Output
Editable TikZ. Build emits PDF, SVG, PNG, transparent PNG, thumbnail.
Chinese: \usepackage[cjk]{superderive}. English: [en].