I am writing two equations in an align
environment:
\begin{align}
x^2+y^2=z^2, \\
x^2=7,
\end{align}
I would like the first equation to be labelled with e.g. (1.1) and the second equation to be labelled (1.1'), rather than (1.2).
Is this possible to automate? Do I need to use a hack to manually place the equation number after my second equation? e.g.
\newcommand{\hack}{\hfill({\eqnum}')} % Sketch - I don't know what command to use.
\begin{align}
x^2+y^2=z^2, \\\nonumber
x^2=7,\hack
\end{align}
If so, what command can I use to get the equation number? i.e. what should my command \hack
be?