I'm looking for a command to automate a conditions' tags so that when I move them around I don't get crazy with reworking numbering. I tried to do using cleveref
functionality, but I couldn't find a solution
I mean command like \cond{label}
that when used like this
\begin{thm}\label{thm:1}
Suppose one (or both) of the following hold:
\cond{cnd:a} the earth is flat;\\
\cond{cnd:b} the sun is squared\\
if you believe it, you are not a scientist.
\end{thm}
Conditions \cref{cnd:a} and \cref{cnd:b} in \cref{thm:1} are pretty stupid
would produce this output