I would like to disable the numbering of all equations in my latex document without changing math environments to their starred version.
The scenario is: I have a long document and I would like to produce one pdf where equations are numbered and another one where they aren't. So my idea was to simply trigger the desired behavior by adding appropriate commands in the preamble.
I tried \makeatletter\renewcommand\@eqnnum{}\makeatother as suggested here, but this does not seem to do anything.
I use align, alignat and equation environments.
Thank you.
previewpackage so It does not matter that cross sections do not function any more – Bastian Mar 25 '17 at 18:12