I am working on an environment for axiom lists. The end result should look something like:
Code: Select all
\begin{axiomlist}[AMon]
\item Axiom 1 \label{axm:test}
\item Axiom 2
\item Axiom 3
\end{axiomlist}
I have that much:(AMon1) Axiom 1
(AMon2) Axiom 2
(AMon3) Axiom 3
Code: Select all
\newcounter{axmctr}
\newcommand{\axmnum}{\arabic{axmctr}}
\newenvironment{axiomlist}[1][Axm]
{
\begin{list}{\textbf{(#1\axmnum)}}{\usecounter{axmctr}}
}%
{
\end{list}
}
So far, I've looked into the cleverref and varioref packages; neither seems to have the capability to do this localized re-tagging. (On the other hand, maybe I missed something.) The enumerate package would have done the custom list, but is also deficient in the reference department (and I don't need the full power of that package, just this specific and oft-reused environment).
Thanks in advance,
--John.