I would like to custom tag theorems, similar to the way \tag
lets me custom tag equations in a math environment. How should I go about doing so? The amsthm
package documentation is silent on doing something like this..
\documentclass{article}
\usepackage{amsmath}
\usepackage{amsthm}
\begin{document}[article]
\begin{equation}
a + b = c \tag{A1}\label{A1}
\end{equation}
\begin{theorem}[My important theorem.]
The universe will cease to exist tomorrow.
\end{theorem}
I would like to tag My important theorem as ``T1'', just like how I tagged \eqref{A1}.
\end{document}
Best Answer
The following might suffice, although the interface is not as ideal as the regular equation
\tag
:The idea is to set a theorem tag using
\settheoremtag{<tag>}
, which will then be used to set the numbering for the subsequenttheorem
environment. At\end{theorem}
, the default settings are restored in order to allow for inter-mixing of regularly-numbered theorems together with fixed-tag ones.