feat: add superderive stepwise derivation figures
A third sibling toolkit: rewrite steps, justification rails, cancel/substitute highlights, and lint-on-warning builds.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# Grammar
|
||||
|
||||
| Fact | Macro |
|
||||
|---|---|
|
||||
| one legal rewrite | `\sdstep[role=rewrite]{name}{lhs}{rhs}` |
|
||||
| why it is legal | `\sdreason{name}{text}` |
|
||||
| a cancelled term | `\sdcancel{name}{math}` |
|
||||
| substitution | `\sdsubst{name}{from}{to}` |
|
||||
| focus box | `\sdbox[role=keep]{name}{math}` |
|
||||
| illegal vs legal | `\sdcol{name}{bad}{good}` (one per figure) |
|
||||
| bottom | `\sdmeaningbox` (idea / rewrite / caveat) |
|
||||
|
||||
Built-in roles: `keep` `rewrite` `cancel` `intro` `warn` `neutral`.
|
||||
Reference in New Issue
Block a user