New on CTAN: Mermin Equations
The mermin-equations package helps authors follow N. David Mermin’s rules for equations in physics writing. It lets a numbered equation, or a line of an align, carry several labels, each a noun phrase such as “anomaly condition” or “Pythagorean condition”, and cites an equation by phrase, so that the \eq{anomaly condition} prints “the anomaly condition (3)”. It also warns, unless told not to, about displays without a number and equations cited by number alone. It works with hyperref and cleveref, in pdfLaTeX, LuaLaTeX, and XeLaTeX.
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/mermin-equations The package’s files themselves can be inspected at https://mirrors.ctan.org/macros/latex/contrib/mermin-equations/
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
Mermin Equations – Label equations by noun phrases and cite them by phrase
N. David Mermin’s What’s Wrong with These Equations?
asks that every equation be cited by a phrase as well as
its number: the anomaly condition (3)
,
never a bare (3)
.
This package makes the phrase the label.
\aka{phrase} (also known as
) gives a numbered
equation, or one line of an align, as many phrase labels
as the prose needs, before or after its \label
or without one; \eq{phrase} cites it by one of them
and prints the phrase followed by the linked number.
A phrase containing mathematics is given once where the
label is defined, \aka[$\Gamma$ action]{Gamma action},
and cited plainly; existing eq: labels need no
change. \eq warns when it cites a section, figure,
or other non-equation.
Two of Mermin’s rules are also checked, with warnings that never stop compilation and that the options nofisher and nosamaritan turn off: Fisher’s rule, number every displayed equation, and the Good Samaritan rule, cite an equation by a phrase as well as a number.
The short names have long forms, \alsolabel and \eqcite, for documents where another package already defines \aka or \eq.
The package supports the amsmath displays, empheq, breqn, the cases package, IEEEtrantools, subeqnarray, and eqnarray; works with hyperref, cleveref, nameref, xr and xr-hyper, beamer, REVTeX, and latexdiff output; and runs under pdfLaTeX, LuaLaTeX, and XeLaTeX.
| Paket | Mermin Equations |
| Version | 0.1.1 2026-11-18 |
| Copyright | 2026 Evan Berkowitz |
| Betreuer | Evan Berkowitz |