JesseStraat / reptheorem

LaTeX Project Public License v1.3c
1 stars 0 forks source link

Multiple labels for a theorem #12

Open emalizia opened 2 weeks ago

emalizia commented 2 weeks ago

Hi,

Is there a way to assign multiple labels to a same theorem with reptheorem? E.g., in thmtools something like this is legit:

\begin{restatable}{theorem}{labelToRestate}
\label{thmOne}
\label{thm1}
\label{thm_one}
This is a theorem.
\end{restatable}
JesseStraat commented 1 week ago

Issue was found to be in saving the theorems to the .aux file. Possible, but unsatisfying, fixes may include adding an optional argument for a theorem "preamble" which isn't saved to the .aux or temporarily redefining \label to do nothing.