New on CTAN: substnote
substnote is a new package for the notation of substitution. Textbooks write “the result of substituting t for x in phi” in half a dozen ways, and the two slash conventions are mirror images of one another. The package provides one command and lets the convention be chosen once in the preamble, so that a manuscript can be retargeted without editing the formulas.
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/substnote The package’s files themselves can be inspected at https://mirrors.ctan.org/macros/latex/contrib/substnote/
Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese
CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs
substnote – Substitution notation with a switchable convention
The package provides a single command for the notation of substitution, \subst{\varphi}{x}{t}, and lets the convention be chosen once in the preamble. Seven conventions are supported, among them the two mirror-image readings of the slash, the assignment colon, the arrow and the up-down form with the variable above the term. Simultaneous substitutions are written as two comma lists paired by index, and lists of different lengths are reported as an error. The delimiters are selected with a key and scale to their contents in the starred form, and the colon of the assignment convention is centred on the mathematical axis. The commands are mode-aware and robust, so they may be used in section titles and captions. The package requires only a recent LaTeX kernel and loads nothing else.
| Package | substnote |
| Version | 0.1.0 2026-07-30 |
| Copyright | 2026 Vseslav Sekorin |
| Maintainer | Vseslav Sekorin |